Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • drivers
  • dma
  • cppi41.c
Find file BlameHistoryPermalink
  • Arnd Bergmann's avatar
    dmaengine: cppi41: mark PM functions as __maybe_unused · 522ef614
    Arnd Bergmann authored Sep 06, 2016
    
    
    When CONFIG_PM_SLEEP is disabled, we get a build error in
    the cppi41 dmaengine driver, since the runtime-pm functions
    are hidden within the wrong #ifdef:
    
    drivers/dma/cppi41.c:1158:21: error: 'cppi41_runtime_suspend' undeclared here (not in a function)
    
    This removes the #ifdef and instead uses __maybe_unused
    annotations that cannot have this problem.
    
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Fixes: fdea2d09
    
     ("dmaengine: cppi41: Add basic PM runtime support")
    Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
    522ef614
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7