mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 11:21:33 +00:00
59d92875a6
If we build a kernel with CONFIG_ARCH_OMAP2PLUS enabled but all of the individual SoCs disabled, we run into a large number of link errors because if incorrect dependencies: arch/arm/mach-omap2/built-in.o: In function `_add_initiator_dep': arch/arm/mach-omap2/omap_hwmod.c:691: undefined reference to `clkdm_add_sleepdep' arch/arm/mach-omap2/built-in.o: In function `_del_initiator_dep': arch/arm/mach-omap2/omap_hwmod.c:720: undefined reference to `clkdm_del_sleepdep' arch/arm/mach-omap2/built-in.o: In function `_enable': arch/arm/mach-omap2/omap_hwmod.c:2145: undefined reference to `clkdm_in_hwsup' arch/arm/mach-omap2/omap_hwmod.c:2147: undefined reference to `clkdm_hwmod_enable' arch/arm/mach-omap2/omap_hwmod.c:2191: undefined reference to `clkdm_hwmod_disable' arch/arm/mach-omap2/omap_hwmod.c:2146: undefined reference to `clkdm_missing_idle_reporting' arch/arm/mach-omap2/built-in.o: In function `_idle': arch/arm/mach-omap2/omap_hwmod.c:2235: undefined reference to `clkdm_hwmod_disable' arch/arm/mach-omap2/built-in.o: In function `_shutdown': arch/arm/mach-omap2/omap_hwmod.c:2338: undefined reference to `clkdm_hwmod_disable' arch/arm/mach-omap2/built-in.o: In function `omap_hwmod_get_context_loss_count': arch/arm/mach-omap2/omap_hwmod.c:4071: undefined reference to `pwrdm_get_context_loss_count' arch/arm/mach-omap2/built-in.o: In function `omap_pm_clkdms_setup': arch/arm/mach-omap2/pm.c:114: undefined reference to `clkdm_allow_idle' arch/arm/mach-omap2/pm.c:117: undefined reference to `clkdm_sleep' arch/arm/mach-omap2/built-in.o: In function `omap2_common_pm_late_init': arch/arm/mach-omap2/pm.c:294: undefined reference to `omap_voltage_late_init' arch/arm/mach-omap2/built-in.o: In function `omap2_gpio_dev_init': arch/arm/mach-omap2/gpio.c:133: undefined reference to `pwrdm_can_ever_lose_context' We can avoid this if we make CONFIG_ARCH_OMAP2PLUS a silent option that gets enabled any time that one of the SoC versions is enabled. Cc: Tony Lindgren <tony@atomide.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> |
||
---|---|---|
.. | ||
acs5k_defconfig | ||
acs5k_tiny_defconfig | ||
ag5evm_defconfig | ||
am200epdkit_defconfig | ||
ape6evm_defconfig | ||
armadillo800eva_defconfig | ||
assabet_defconfig | ||
at91_dt_defconfig | ||
at91rm9200_defconfig | ||
at91sam9g45_defconfig | ||
at91sam9rl_defconfig | ||
at91sam9260_9g20_defconfig | ||
at91sam9261_9g10_defconfig | ||
at91sam9263_defconfig | ||
at91x40_defconfig | ||
badge4_defconfig | ||
bcm2835_defconfig | ||
bcm_defconfig | ||
bockw_defconfig | ||
cerfcube_defconfig | ||
clps711x_defconfig | ||
cm_x2xx_defconfig | ||
cm_x300_defconfig | ||
cns3420vb_defconfig | ||
colibri_pxa270_defconfig | ||
colibri_pxa300_defconfig | ||
collie_defconfig | ||
corgi_defconfig | ||
da8xx_omapl_defconfig | ||
davinci_all_defconfig | ||
dove_defconfig | ||
ebsa110_defconfig | ||
em_x270_defconfig | ||
ep93xx_defconfig | ||
eseries_pxa_defconfig | ||
exynos4_defconfig | ||
exynos_defconfig | ||
ezx_defconfig | ||
footbridge_defconfig | ||
h3600_defconfig | ||
h5000_defconfig | ||
hackkit_defconfig | ||
imote2_defconfig | ||
imx_v4_v5_defconfig | ||
imx_v6_v7_defconfig | ||
integrator_defconfig | ||
iop13xx_defconfig | ||
iop32x_defconfig | ||
iop33x_defconfig | ||
ixp4xx_defconfig | ||
jornada720_defconfig | ||
keystone_defconfig | ||
kirkwood_defconfig | ||
kota2_defconfig | ||
ks8695_defconfig | ||
kzm9d_defconfig | ||
kzm9g_defconfig | ||
lart_defconfig | ||
lpc32xx_defconfig | ||
lpd270_defconfig | ||
lubbock_defconfig | ||
mackerel_defconfig | ||
magician_defconfig | ||
mainstone_defconfig | ||
marzen_defconfig | ||
mini2440_defconfig | ||
mmp2_defconfig | ||
msm_defconfig | ||
multi_v7_defconfig | ||
mv78xx0_defconfig | ||
mvebu_defconfig | ||
mxs_defconfig | ||
neponset_defconfig | ||
netwinder_defconfig | ||
netx_defconfig | ||
nhk8815_defconfig | ||
nuc910_defconfig | ||
nuc950_defconfig | ||
nuc960_defconfig | ||
omap1_defconfig | ||
omap2plus_defconfig | ||
orion5x_defconfig | ||
palmz72_defconfig | ||
pcm027_defconfig | ||
pleb_defconfig | ||
prima2_defconfig | ||
pxa3xx_defconfig | ||
pxa168_defconfig | ||
pxa255-idp_defconfig | ||
pxa910_defconfig | ||
raumfeld_defconfig | ||
realview_defconfig | ||
realview-smp_defconfig | ||
rpc_defconfig | ||
s3c2410_defconfig | ||
s3c6400_defconfig | ||
s5p64x0_defconfig | ||
s5pc100_defconfig | ||
s5pv210_defconfig | ||
sama5_defconfig | ||
shannon_defconfig | ||
shark_defconfig | ||
simpad_defconfig | ||
socfpga_defconfig | ||
spear3xx_defconfig | ||
spear6xx_defconfig | ||
spear13xx_defconfig | ||
spitz_defconfig | ||
tct_hammer_defconfig | ||
tegra_defconfig | ||
trizeps4_defconfig | ||
u300_defconfig | ||
u8500_defconfig | ||
versatile_defconfig | ||
vexpress_defconfig | ||
viper_defconfig | ||
xcep_defconfig | ||
zeus_defconfig |