__platform_create_bundle — register driver and create corresponding device
struct platform_device * __platform_create_bundle ( | struct platform_driver * driver, |
int (*probe)
(struct platform_device *), | |
| struct resource * res, | |
| unsigned int n_res, | |
| const void * data, | |
| size_t size, | |
struct module * module); |
driverplatform driver structure
probethe driver probe routine, probably from an __init section
resset of resources that needs to be allocated for the device
n_resnumber of resources
dataplatform specific data for this platform device
sizesize of platform specific data
modulemodule which will be the owner of the driver