| commit | 4066467ee31725d452a4fd2df433367b390d2b5f | [log] [tgz] |
|---|---|---|
| author | Danilo Krummrich <dakr@kernel.org> | Thu May 29 21:10:02 2025 +0200 |
| committer | Danilo Krummrich <dakr@kernel.org> | Fri May 30 16:21:36 2025 +0200 |
| tree | 17d6a156c61b5f11b3ed1a59247a7d4f14834bdf | |
| parent | 6b1c5b5a837576657ae26df20e566025602d45c4 [diff] |
rust: sample: misc: implement device driver sample In order to demonstrate and test a MiscDeviceRegistration with a parent device, introduce CONFIG_SAMPLE_RUST_MISC_DEVICE_WITH_PARENT. If CONFIG_SAMPLE_RUST_MISC_DEVICE_WITH_PARENT=y the misc device sample is initialized with a parent device (faux), otherwise it is initialized without a parent device, i.e. the exact same way as without this patch. Signed-off-by: Danilo Krummrich <dakr@kernel.org>