cpufreq: pxa2xx: Add Kconfig entry
authorPetr Cvek <petr.cvek@tul.cz>
Mon, 24 Nov 2014 03:59:26 +0000 (04:59 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 27 Nov 2014 00:53:12 +0000 (01:53 +0100)
Add ability for PXA2xx CPUFreq to be compiled as a module or not at all.

Signed-off-by: Petr Cvek <petr.cvek@tul.cz>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
[ rjw: Subject ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/Kconfig.arm
drivers/cpufreq/Makefile

index 83a75dc84761a3c4e9a4e385c66d19ab17706b31..0f9a2c3c0e0d3eb1699a6a19ebee0532872dbccc 100644 (file)
@@ -247,3 +247,11 @@ config ARM_TEGRA_CPUFREQ
        default y
        help
          This adds the CPUFreq driver support for TEGRA SOCs.
+
+config ARM_PXA2xx_CPUFREQ
+       tristate "Intel PXA2xx CPUfreq driver"
+       depends on PXA27x || PXA25x
+       help
+         This add the CPUFreq driver support for Intel PXA2xx SOCs.
+
+         If in doubt, say N.
index 215e447abec638b62032dfe8122b88d6bceda0fb..b3ca7b0b2c33aa1ae65b639da68a7c6d328a980b 100644 (file)
@@ -61,8 +61,7 @@ obj-$(CONFIG_ARM_IMX6Q_CPUFREQ)               += imx6q-cpufreq.o
 obj-$(CONFIG_ARM_INTEGRATOR)           += integrator-cpufreq.o
 obj-$(CONFIG_ARM_KIRKWOOD_CPUFREQ)     += kirkwood-cpufreq.o
 obj-$(CONFIG_ARM_OMAP2PLUS_CPUFREQ)    += omap-cpufreq.o
-obj-$(CONFIG_PXA25x)                   += pxa2xx-cpufreq.o
-obj-$(CONFIG_PXA27x)                   += pxa2xx-cpufreq.o
+obj-$(CONFIG_ARM_PXA2xx_CPUFREQ)       += pxa2xx-cpufreq.o
 obj-$(CONFIG_PXA3xx)                   += pxa3xx-cpufreq.o
 obj-$(CONFIG_ARM_S3C24XX_CPUFREQ)      += s3c24xx-cpufreq.o
 obj-$(CONFIG_ARM_S3C24XX_CPUFREQ_DEBUGFS) += s3c24xx-cpufreq-debugfs.o