summaryrefslogtreecommitdiffstats
path: root/drivers/pnp
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2018-07-07 05:49:19 +0200
committerJens Axboe <axboe@kernel.dk>2018-07-09 17:07:55 +0200
commit3993e501bf853cce85c5114a704b86b8f486790c (patch)
treed3914fd1a125af7782b508c922e035904e882231 /drivers/pnp
parentnull_blk: add zone support (diff)
downloadlinux-3993e501bf853cce85c5114a704b86b8f486790c.tar.xz
linux-3993e501bf853cce85c5114a704b86b8f486790c.zip
block/DAC960.c: fix defined but not used build warnings
Fix build warnings in DAC960.c when CONFIG_PROC_FS is not enabled by marking the unused functions as __maybe_unused. ../drivers/block/DAC960.c:6429:12: warning: 'dac960_proc_show' defined but not used [-Wunused-function] ../drivers/block/DAC960.c:6449:12: warning: 'dac960_initial_status_proc_show' defined but not used [-Wunused-function] ../drivers/block/DAC960.c:6456:12: warning: 'dac960_current_status_proc_show' defined but not used [-Wunused-function] Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Jens Axboe <axboe@kernel.dk> Cc: linux-block@vger.kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions