3.x版本内核中platform_device的生成

内核版本:Linux-3.18.2node 在3.x版本内核中platform_device再也不静态定义,而是经过device tree来动态生成,例如(arch/arm/mach-s3c24xx/mach-sc2416-dt.c):c++ static void __init s3c2416_dt_machine_init(void) { of_platform_populate(NULL,
相关文章
相关标签/搜索