Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-coresight-backports
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-coresight-backports
  • Repository
Switch branch/tag
  • linux-coresight-backports
  • drivers
  • cpufreq
  • Kconfig.arm
Find file BlameHistoryPermalink
  • Arnd Bergmann's avatar
    cpufreq: kryo: allow building as a loadable module · ac289276
    Arnd Bergmann authored Jun 05, 2018
    Building the kryo cpufreq driver while QCOM_SMEM is a loadable module
    results in a link error:
    
    drivers/cpufreq/qcom-cpufreq-kryo.o: In function `qcom_cpufreq_kryo_probe':
    qcom-cpufreq-kryo.c:(.text+0xbc): undefined reference to `qcom_smem_get'
    
    The problem is that Kconfig ignores interprets the dependency as met
    when the dependent symbol is a 'bool' one. By making it 'tristate',
    it will be forced to be a module here, which builds successfully.
    
    Fixes: 46e2856b
    
     (cpufreq: Add Kryo CPU scaling driver)
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    ac289276