Commit b6a1dbca authored by Ben Dooks's avatar Ben Dooks Committed by Greg Kroah-Hartman

ARM: OMAP2+: SmartReflex: add omap_sr_pdata definition

[ Upstream commit 2079fe6e ]

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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 64f79f17
...@@ -296,6 +296,9 @@ struct omap_sr_data { ...@@ -296,6 +296,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