Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe
  • Repository
Switch branch/tag
  • ipipe
  • drivers
  • irqchip
  • irq-st.c
Find file BlameHistoryPermalink
  • Jérémy Lefaure's avatar
    irqchip/st: Mark st_irq_syscfg_resume() __maybe_unused · f357563f
    Jérémy Lefaure authored Dec 16, 2016
    
    
    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: default avatarJérémy Lefaure <jeremy.lefaure@lse.epita.fr>
    Cc: Marc Zyngier <marc.zyngier@arm.com>
    Cc: Jason Cooper <jason@lakedaemon.net>
    Link: http://lkml.kernel.org/r/20161217002927.31947-1-jeremy.lefaure@lse.epita.fr
    
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    f357563f

Imprint & Privacy Policy