diff options
author | Arnd Bergmann <[email protected]> | 2017-11-17 15:31:26 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-11-17 16:10:04 -0800 |
commit | d4258247d9057c848cc1c1ad9581400b5124dedd (patch) | |
tree | ba3bca28c485d5fad90917c215c6abfed993c378 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 64c349f4ae78723248c474531d0cbc524fc5ba77 (diff) |
drivers/pcmcia/sa1111_badge4.c: avoid unused function warning
pcmv_setup() is only used when the badge4 driver is built-in, but not
when it is a loadable module:
drivers/pcmcia/sa1111_badge4.c:153:122: error: 'pcmv_setup' defined but not used [-Werror=unused-function]
This adds an #ifdef to avoid the definition of the unused function in
the modular case.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnd Bergmann <[email protected]>
Cc: Russell King <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions