Skip to content

Commit 70071ff

Browse files
Jean PihetKevin Hilman
authored andcommitted
ARM: OMAP: SmartReflex: select CONFIG_POWER_SUPPLY in Kconfig
Select POWER_SUPPLY from POWER_AVS_OMAP entry in Kconfig. This avoids the following build problems using a randconfig that has CONFIG_POWER_SUPPLY not set: LD init/built-in.o arch/arm/mach-omap2/built-in.o: In function `sr_class3_configure': arch/arm/mach-omap2/smartreflex-class3.c:44: 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' make: *** [vmlinux] Error 1 Signed-off-by: Jean Pihet <j-pihet@ti.com> Signed-off-by: Kevin Hilman <khilman@ti.com>
1 parent 93b44be commit 70071ff

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎arch/arm/plat-omap/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ config OMAP_DEBUG_LEDS
4848
config POWER_AVS_OMAP
4949
bool "AVS(Adaptive Voltage Scaling) support for OMAP IP versions 1&2"
5050
depends on POWER_AVS && (ARCH_OMAP3 || ARCH_OMAP4) && PM
51+
select POWER_SUPPLY
5152
help
5253
Say Y to enable AVS(Adaptive Voltage Scaling)
5354
support on OMAP containing the version 1 or

0 commit comments

Comments
 (0)