摘要:
include/linux/platform_device.h#define PLATFORM_DEVID_NONE (-1)#define PLATFORM_DEVID_AUTO (-2)drivers/base/platform.c/** * platform_device_add - add a platform device to device hierarchy * @pdev: platform device we're adding * * This is part 2 of platform_device_register(), though may be call.. 阅读全文