diff options
author | Tony Lindgren <tony@atomide.com> | 2015-12-21 13:06:52 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2015-12-22 20:01:02 -0500 |
commit | dbb7e70a69288980c8a89fdb5ffb97e06b806b19 (patch) | |
tree | a66e9c98953c8e58ed57bb23826be4bb8a76fa05 | |
parent | d893656e61040f3ff7b5f72a986052a348f3c94e (diff) |
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>
-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 = { | |||
662 | .index = TI_CLKM_PRM, | 662 | .index = TI_CLKM_PRM, |
663 | .init = am33xx_prm_init, | 663 | .init = am33xx_prm_init, |
664 | }; | 664 | }; |
665 | #endif | ||
665 | 666 | ||
667 | #ifdef CONFIG_SOC_TI81XX | ||
666 | static struct omap_prcm_init_data dm814_pllss_data __initdata = { | 668 | static struct omap_prcm_init_data dm814_pllss_data __initdata = { |
667 | .index = TI_CLKM_PLLSS, | 669 | .index = TI_CLKM_PLLSS, |
668 | .init = am33xx_prm_init, | 670 | .init = am33xx_prm_init, |