History

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?

Ben Dooks committed 7 years ago

Commit 2079fe61 parent aca32d71 file · +3 −0Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/power/smartreflex.h+3−0
@@ -293,6 +293,9 @@ struct omap_sr_data { · 292 unmodified lines
293293 struct voltagedomain *voltdm;
294294 };
295295
296+
297+extern struct omap_sr_data omap_sr_pdata[OMAP_SR_NR];
298+
296299 #ifdef CONFIG_POWER_AVS_OMAP
297300
298301 /* Smartreflex module enable/disable interface */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t