Skip to content

Commit 2079fe6

Browse files
bjdooks-ctrafaeljw
authored andcommitted
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? Signed-off-by: Ben Dooks <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent aca32d7 commit 2079fe6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/linux/power/smartreflex.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,9 @@ struct omap_sr_data {
293293
struct voltagedomain *voltdm;
294294
};
295295

296+
297+
extern struct omap_sr_data omap_sr_pdata[OMAP_SR_NR];
298+
296299
#ifdef CONFIG_POWER_AVS_OMAP
297300

298301
/* Smartreflex module enable/disable interface */

0 commit comments

Comments
 (0)