diff options
author | Tony Lindgren <tony@atomide.com> | 2015-12-21 21:06:52 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2015-12-23 04:01:02 +0300 |
commit | dbb7e70a69288980c8a89fdb5ffb97e06b806b19 (patch) | |
tree | a66e9c98953c8e58ed57bb23826be4bb8a76fa05 /arch/arm/mach-omap2/prm_common.c | |
parent | d893656e61040f3ff7b5f72a986052a348f3c94e (diff) | |
download | linux-dbb7e70a69288980c8a89fdb5ffb97e06b806b19.tar.xz |
ARM: OMAP2+: Fix randconfig build warning for dm814_pllss_data
Fix warning for arch/arm/mach-omap2/prm_common.c:666:35: warning:
‘dm814_pllss_data’ defined but not used [-Wunused-variable]".
This can happen if CONFIG_SOC_TI81XX is not selected.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/prm_common.c')
-rw-r--r-- | arch/arm/mach-omap2/prm_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/prm_common.c b/arch/arm/mach-omap2/prm_common.c index 55acc76113b8..5b2f5138d938 100644 --- a/arch/arm/mach-omap2/prm_common.c +++ b/arch/arm/mach-omap2/prm_common.c @@ -662,7 +662,9 @@ static struct omap_prcm_init_data am3_prm_data __initdata = { .index = TI_CLKM_PRM, .init = am33xx_prm_init, }; +#endif +#ifdef CONFIG_SOC_TI81XX static struct omap_prcm_init_data dm814_pllss_data __initdata = { .index = TI_CLKM_PLLSS, .init = am33xx_prm_init, |