• Russell King's avatar
    ARM: OMAP: fix voltage domain build errors with PM_OPP disabled · 3ddd4d0c
    Russell King authored
    The voltage domain code wants the voltage tables, which are in the
    opp*.c files.  These files aren't built when PM_OPP is disabled,
    causing the following build errors at link time:
    
    twl-common.c:(.init.text+0x2e48): undefined reference to `omap34xx_vddmpu_volt_data'
    twl-common.c:(.init.text+0x2e4c): undefined reference to `omap34xx_vddcore_volt_data'
    twl-common.c:(.init.text+0x2e5c): undefined reference to `omap36xx_vddmpu_volt_data'
    twl-common.c:(.init.text+0x2e60): undefined reference to `omap36xx_vddcore_volt_data'
    twl-common.c:(.init.text+0x2830): undefined reference to `omap44xx_vdd_mpu_volt_data'
    twl-common.c:(.init.text+0x283c): undefined reference to `omap44xx_vdd_iva_volt_data'
    twl-common.c:(.init.text+0x2844): undefined reference to `omap44xx_vdd_core_volt_data'
    Acked-by: default avatarKevin Hilman <khilman@ti.com>
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    3ddd4d0c
voltagedomains44xx_data.c 2.72 KB