• Adrian Bunk's avatar
    [PATCH] drivers/edac/edac_mc.h must #include <linux/platform_device.h> · 927cbe8a
    Adrian Bunk authored
    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: default avatarAdrian Bunk <bunk@stusta.de>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    927cbe8a
edac_mc.h 14.9 KB