Linux kernel platform abstraction and data structures
struct device, struct device_driver, and struct bus_type
include/linux/device.h:
Device driver base structure
include/linux/device/driver.h
Driver registration
最好在模组的 __init 和__exit里进行注册和注销
module_{bus_name}_driver(__{bus_name}_driver)
Exposing the supported devices in the driver
标签:__,struct,19,bus,driver,2023.7,linux,device From: https://www.cnblogs.com/yangdinshan/p/17566817.html