• Adrian Bunk's avatar
    [PATCH] ipmi: fix compile errors with PROC_FS=n · be4f1bb2
    Adrian Bunk authored
    ...
      CC [M]  drivers/char/ipmi/ipmi_msghandler.o
    drivers/char/ipmi/ipmi_msghandler.c:3301: `proc_ipmi_root' undeclared here (not in a function)
    drivers/char/ipmi/ipmi_msghandler.c:3301: initializer element is not constant
    drivers/char/ipmi/ipmi_msghandler.c:3301: (near initialization for `__ksymtab_proc_ipmi_root.value')
    drivers/char/ipmi/ipmi_msghandler.c:1535: warning: `ipmb_file_read_proc' defined but not used
    drivers/char/ipmi/ipmi_msghandler.c:1551: warning: `version_file_read_proc' defined but not used
    drivers/char/ipmi/ipmi_msghandler.c:1561: warning: `stat_file_read_proc' defined but not used
    ...
      CC [M]  drivers/char/ipmi/ipmi_poweroff.o
    drivers/char/ipmi/ipmi_poweroff.c: In function `ipmi_poweroff_init':
    drivers/char/ipmi/ipmi_poweroff.c:616: warning: implicit declaration of function `unregister_sysctl_table'
    drivers/char/ipmi/ipmi_poweroff.c:616: `ipmi_table_header' undeclared (first use in this function)
    drivers/char/ipmi/ipmi_poweroff.c:616: (Each undeclared identifier is reported only once
    drivers/char/ipmi/ipmi_poweroff.c:616: for each function it appears in.)
    Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
    Cc: Corey Minyard <minyard@acm.org>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    be4f1bb2
ipmi_msghandler.c 90.1 KB