ARM: OMAP2+: SmartReflex: add omap_sr_pdata definition
Subsystems (2)
PATCH 1/1 ARM: OMAP2+: SmartReflex: add omap_sr_pdata definition
The omap_sr_pdata is not declared but is exported, so add a define for it to fix the following warning:
arch/arm/mach-omap2/pdata-quirks.c:609:36: warning: symbol 'omap_sr_pdata' was not declared. Should it be static?
---
Cc: Kevin Hilman <[email protected]>
Cc: Nishanth Menon <[email protected]>
Cc: [email protected]
Cc: [email protected]
--- include/linux/power/smartreflex.h | 3 +++ 1 file changed, 3 insertions(+)
include/linux/power/smartreflex.h +3 -0
@@ -293,6 +293,9 @@ struct omap_sr_data {struct voltagedomain *voltdm; }; + +extern struct omap_sr_data omap_sr_pdata[OMAP_SR_NR ]; +#ifdef CONFIG_POWER_AVS_OMAP /* Smartreflex module enable/disable interface */
Signature · 1 line
2.23.0
Rafael J. Wysocki
AppliedQuoted 21 lines · CET Ben Dooks
The
omap_sr_pdatais not declared but is exported, so add a define for it to fix the following warning:
arch/arm/mach-omap2/pdata-quirks.c:609:36: warning: symbol 'omap_sr_pdata' was not declared. Should it be static?Signed-off-by Ben Dooks <[email protected]>---
Cc: Kevin Hilman <[email protected]>
Cc: Nishanth Menon <[email protected]>
Cc: [email protected]
Cc: [email protected]--- include/linux/power/smartreflex.h | 3 +++ 1 file changed, 3 insertions(+)include/linux/power/smartreflex.h +0
-0
include/linux/power/smartreflex.h struct omap_sr_data { · line 301
Quoted 9 lines
include/linux/power/smartreflex.h +3
-0@@ -293,6 +293,9 @@ struct omap_sr_data {struct voltagedomain *voltdm; }; + +extern struct omap_sr_data omap_sr_pdata[OMAP_SR_NR ]; +#ifdef CONFIG_POWER_AVS_OMAP /* Smartreflex module enable/disable interface */
Applied as 5.5 material, thanks!