diff options
author | Randy Dunlap <[email protected]> | 2018-09-14 15:10:29 -0700 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-09-15 10:16:25 +0200 |
commit | 002b87d2aace62b4f3841c3aa43309d2380092be (patch) | |
tree | 96f424433d8be906bf9c7b578a243cd14a8dd622 /lib | |
parent | 61a6bd83abf2f14b2a917b6a0279c88d299267af (diff) |
x86/APM: Fix build warning when PROC_FS is not enabled
Fix build warning in apm_32.c when CONFIG_PROC_FS is not enabled:
../arch/x86/kernel/apm_32.c:1643:12: warning: 'proc_apm_show' defined but not used [-Wunused-function]
static int proc_apm_show(struct seq_file *m, void *v)
Fixes: 3f3942aca6da ("proc: introduce proc_create_single{,_data}")
Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Cc: Jiri Kosina <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions