diff options
author | Arnd Bergmann <[email protected]> | 2016-01-25 16:58:08 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2016-01-26 16:00:14 +0100 |
commit | eb249a11913d316fc1a27dd07a1e1e43bda9199d (patch) | |
tree | 1241004c21198a870d1b7b7d8821b61f9d302ae3 /lib/netdev-notifier-error-inject.c | |
parent | 570540d50710ed192e98e2f7f74578c9486b6b05 (diff) |
irqchip/s3c24xx: Mark init_eint as __maybe_unused
The init_eint array in the s3c24xx irqchip driver is used by
every individual chip variant, but Kconfig allows building
the driver when they are all disabled, and that leads to
a harmless compile-time warning:
drivers/irqchip/irq-s3c24xx.c:608:28: error: 'init_eint' defined but not used [-Werror=unused-variable]
This marks the array as __maybe_unused to avoid the warning.
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Marc Zyngier <[email protected]>
Cc: [email protected]
Cc: Jason Cooper <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions