Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Ben Dooks and committed by
Rafael J. Wysocki
2079fe6e aca32d7b

+3
+3
include/linux/power/smartreflex.h
··· 293 293 struct voltagedomain *voltdm; 294 294 }; 295 295 296 + 297 + extern struct omap_sr_data omap_sr_pdata[OMAP_SR_NR]; 298 + 296 299 #ifdef CONFIG_POWER_AVS_OMAP 297 300 298 301 /* Smartreflex module enable/disable interface */