linux 平台总线的实现有三大块 , platform bus , platform device , platform drvice 平台类型结构体: /** * struct bus_type - The bus type of the device * * @name: The name of the bus. * @bus_attrs: Default attributes of the bus. * @dev_attrs: Default attributes of the dev…