Skip to content

Commit

Permalink
ARM: OMAP2+: SmartReflex: add omap_sr_pdata definition
Browse files Browse the repository at this point in the history
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 <ben.dooks@codethink.co.uk>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Ben Dooks authored and Rafael J. Wysocki committed Nov 13, 2019
1 parent aca32d7 commit 2079fe6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/linux/power/smartreflex.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 2079fe6

Please sign in to comment.