summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2019-10-15 14:12:38 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-11-13 11:33:53 +0100
commit2079fe6ea8cbd2fb2fbadba911f1eca6c362eb9b (patch)
treeed4a9cadb4bf2cbeb43a3474f90e3c1d6faed4a9
parentaca32d7bccf961dc4c6ac6dff99ed363af1a6987 (diff)
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 <ben.dooks@codethink.co.uk> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--include/linux/power/smartreflex.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/power/smartreflex.h b/include/linux/power/smartreflex.h
index d0b37e937037..971c9264179e 100644
--- a/include/linux/power/smartreflex.h
+++ b/include/linux/power/smartreflex.h
@@ -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 */