Commit 2079fe6e authored by Ben Dooks's avatar Ben Dooks Committed by Rafael J. Wysocki

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: default avatarBen Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent aca32d7b
...@@ -293,6 +293,9 @@ struct omap_sr_data { ...@@ -293,6 +293,9 @@ struct omap_sr_data {
struct voltagedomain *voltdm; struct voltagedomain *voltdm;
}; };
extern struct omap_sr_data omap_sr_pdata[OMAP_SR_NR];
#ifdef CONFIG_POWER_AVS_OMAP #ifdef CONFIG_POWER_AVS_OMAP
/* Smartreflex module enable/disable interface */ /* Smartreflex module enable/disable interface */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment