Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs: add more driver-model infrastructure interfaces

Add bus, class, and device data structures and enum constants to the
Driver-Model Structures section and add function interfaces to the
Device Drivers Base section of the Device drivers infrastructure chapter.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20230627064523.16618-1-rdunlap@infradead.org

authored by

Randy Dunlap and committed by
Jonathan Corbet
94b829a7 97e6f135

+18
+18
Documentation/driver-api/infrastructure.rst
··· 8 8 :internal: 9 9 :no-identifiers: device_link_state 10 10 11 + .. kernel-doc:: include/linux/device/bus.h 12 + :identifiers: bus_type bus_notifier_event 13 + 14 + .. kernel-doc:: include/linux/device/class.h 15 + :identifiers: class 16 + 17 + .. kernel-doc:: include/linux/device/driver.h 18 + :identifiers: probe_type device_driver 19 + 11 20 Device Drivers Base 12 21 ------------------- 13 22 14 23 .. kernel-doc:: drivers/base/init.c 15 24 :internal: 25 + 26 + .. kernel-doc:: include/linux/device/driver.h 27 + :no-identifiers: probe_type device_driver 16 28 17 29 .. kernel-doc:: drivers/base/driver.c 18 30 :export: ··· 34 22 35 23 .. kernel-doc:: drivers/base/syscore.c 36 24 :export: 25 + 26 + .. kernel-doc:: include/linux/device/class.h 27 + :no-identifiers: class 37 28 38 29 .. kernel-doc:: drivers/base/class.c 39 30 :export: ··· 55 40 56 41 .. kernel-doc:: drivers/base/platform.c 57 42 :export: 43 + 44 + .. kernel-doc:: include/linux/device/bus.h 45 + :no-identifiers: bus_type bus_notifier_event 58 46 59 47 .. kernel-doc:: drivers/base/bus.c 60 48 :export: