twl4030: linkage fix for generic power scripts
[linux-ginger.git] / arch / arm / mach-omap2 / twl4030-generic-scripts.h
blobfb69c2e45bf87876c94ddf445b8cdf58fd48da71
1 #ifndef __TWL4030_GENERIC_SCRIPTS_H
2 #define __TWL4030_GENERIC_SCRIPTS_H
4 #include <linux/i2c/twl4030.h>
6 #ifdef CONFIG_TWL4030_POWER
7 extern struct twl4030_power_data generic3430_t2scripts_data;
8 #define GENERIC3430_T2SCRIPTS_DATA &generic3430_t2scripts_data
9 #else
10 #define GENERIC3430_T2SCRIPTS_DATA NULL
11 #endif /* CONFIG_TWL4030_POWER */
13 #endif