Name

__bus_register — register a driver-core subsystem

Synopsis

int __bus_register (struct bus_type * bus,
 struct lock_class_key * key);
 

Arguments

bus

bus to register

key

lockdep class key

Description

Once we have that, we register the bus with the kobject infrastructure, then register the children subsystems it has: the devices and drivers that belong to the subsystem.