]> Git Repo - linux.git/commit
irqchip/st: Mark st_irq_syscfg_resume() __maybe_unused
authorJérémy Lefaure <[email protected]>
Sat, 17 Dec 2016 00:29:27 +0000 (19:29 -0500)
committerThomas Gleixner <[email protected]>
Mon, 19 Dec 2016 09:55:43 +0000 (10:55 +0100)
commitf357563f958df06cd9ea9e614cdba30578bb08b1
tree97ec359e37058a14517042dc49b7310bb9973c2f
parentb0b3a37b908b5906524c11f3ca12cd7c9d4adc1c
irqchip/st: Mark st_irq_syscfg_resume() __maybe_unused

When CONFIG_PM_SLEEP is disabled, the compiler raises a warning on
st_irq_syscfg_resume:

drivers/irqchip/irq-st.c:183:12: warning: 'st_irq_syscfg_resume' defined
but not used [-Wunused-function]
 static int st_irq_syscfg_resume(struct device *dev)
             ^~~~~~~~~~~~~~~~~~~~

Annotate the function with __maybe_unused.

Signed-off-by: Jérémy Lefaure <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: Jason Cooper <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
drivers/irqchip/irq-st.c
This page took 0.052296 seconds and 4 git commands to generate.