• A
    [PATCH] drivers/edac/edac_mc.h must #include <linux/platform_device.h> · 927cbe8a
    Adrian Bunk 提交于
    With CONFIG_PCI=n:
    
      CC      drivers/edac/edac_mc.o
    drivers/edac/edac_mc.c: In function ‘add_mc_to_global_list’:
    drivers/edac/edac_mc.c:1362: error: implicit declaration of function ‘to_platform_device’
    drivers/edac/edac_mc.c:1362: error: invalid type argument of ‘->’
    drivers/edac/edac_mc.c: In function ‘edac_mc_add_mc’:
    drivers/edac/edac_mc.c:1467: error: invalid type argument of ‘->’
    drivers/edac/edac_mc.c: In function ‘edac_mc_del_mc’:
    drivers/edac/edac_mc.c:1504: error: invalid type argument of ‘->’
    Signed-off-by: NAdrian Bunk <bunk@stusta.de>
    Signed-off-by: NAndrew Morton <akpm@osdl.org>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    927cbe8a
edac_mc.h 14.9 KB