diff options
author | Jean Pihet <j-pihet@ti.com> | 2012-06-28 12:55:38 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-06-29 08:54:31 -0400 |
commit | bb0adf6ca6c78758c12b054fe3f25023033072ab (patch) | |
tree | b77e07b2298cc873fa91a27e618ecdcd0fd70382 | |
parent | 9e74f218abd04dfa082391672295ecc1a3654845 (diff) |
ARM: OMAP2+: do not allow SmartReflex to be built as a module
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>
-rw-r--r-- | drivers/power/avs/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/avs/Kconfig b/drivers/power/avs/Kconfig index 18493f7a8f6f..2a1008b61121 100644 --- a/drivers/power/avs/Kconfig +++ b/drivers/power/avs/Kconfig | |||
@@ -1,5 +1,5 @@ | |||
1 | menuconfig POWER_AVS | 1 | menuconfig POWER_AVS |
2 | tristate "Adaptive Voltage Scaling class support" | 2 | bool "Adaptive Voltage Scaling class support" |
3 | help | 3 | help |
4 | AVS is a power management technique which finely controls the | 4 | AVS is a power management technique which finely controls the |
5 | operating voltage of a device in order to optimize (i.e. reduce) | 5 | operating voltage of a device in order to optimize (i.e. reduce) |