ARM: OMAP2+: do not allow SmartReflex to be built as a module omap-devel-driver-for-v3.6
authorJean Pihet <j-pihet@ti.com>
Thu, 28 Jun 2012 16:55:38 +0000 (09:55 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 29 Jun 2012 12:54:31 +0000 (05:54 -0700)
Disable the module option for POWER_AVS since this is currently not
supported.

This patch fixes these error in the case POWER_AVS is set to 'm':

arch/arm/mach-omap2/built-in.o: In function `sr_class3_configure':
arch/arm/mach-omap2/smartreflex-class3.c:43: undefined reference to `sr_configure_errgen'
arch/arm/mach-omap2/built-in.o: In function `sr_class3_disable':
arch/arm/mach-omap2/smartreflex-class3.c:33: undefined reference to `sr_disable_errgen'
arch/arm/mach-omap2/smartreflex-class3.c:35: undefined reference to `sr_disable'
arch/arm/mach-omap2/built-in.o: In function `sr_class3_enable':
arch/arm/mach-omap2/smartreflex-class3.c:28: undefined reference to `sr_enable'
arch/arm/mach-omap2/built-in.o: In function `sr_class3_init':
arch/arm/mach-omap2/smartreflex-class3.c:59: undefined reference to `sr_register_class'

Reported-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
[tony@atomide.com: updated to use relative paths for the build error]
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/power/avs/Kconfig

index 18493f7..2a1008b 100644 (file)
@@ -1,5 +1,5 @@
 menuconfig POWER_AVS
-       tristate "Adaptive Voltage Scaling class support"
+       bool "Adaptive Voltage Scaling class support"
        help
          AVS is a power management technique which finely controls the
          operating voltage of a device in order to optimize (i.e. reduce)