12 #ifndef __INCLUDE_MACH_PALM27X__
13 #define __INCLUDE_MACH_PALM27X__
15 #if defined(CONFIG_MMC_PXA) || defined(CONFIG_MMC_PXA_MODULE)
16 extern void __init palm27x_mmc_init(
int detect,
int ro,
int power,
19 static inline void palm27x_mmc_init(
int detect,
int ro,
int power,
24 #if defined(CONFIG_SUSPEND)
25 extern void __init palm27x_pm_init(
unsigned long str_base);
27 static inline void palm27x_pm_init(
unsigned long str_base) {}
30 #if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULE)
37 #define palm27x_lcd_init(power, mode) do {} while (0)
40 #if defined(CONFIG_USB_PXA27X) || \
41 defined(CONFIG_USB_PXA27X_MODULE)
42 extern void __init palm27x_udc_init(
int vbus,
int pullup,
45 static inline void palm27x_udc_init(
int vbus,
int pullup,
int vbus_inverted) {}
48 #if defined(CONFIG_IRDA) || defined(CONFIG_IRDA_MODULE)
49 extern void __init palm27x_irda_init(
int pwdn);
51 static inline void palm27x_irda_init(
int pwdn) {}
54 #if defined(CONFIG_TOUCHSCREEN_WM97XX) || \
55 defined(CONFIG_TOUCHSCREEN_WM97XX_MODULE)
56 extern void __init palm27x_ac97_init(
int minv,
int maxv,
int jack,
59 static inline void palm27x_ac97_init(
int minv,
int maxv,
int jack,
int reset) {}
62 #if defined(CONFIG_BACKLIGHT_PWM) || defined(CONFIG_BACKLIGHT_PWM_MODULE)
63 extern void __init palm27x_pwm_init(
int bl,
int lcd);
65 static inline void palm27x_pwm_init(
int bl,
int lcd) {}
68 #if defined(CONFIG_PDA_POWER) || defined(CONFIG_PDA_POWER_MODULE)
69 extern void __init palm27x_power_init(
int ac,
int usb);
71 static inline void palm27x_power_init(
int ac,
int usb) {}
74 #if defined(CONFIG_REGULATOR_MAX1586) || \
75 defined(CONFIG_REGULATOR_MAX1586_MODULE)
76 extern void __init palm27x_pmic_init(
void);
78 static inline void palm27x_pmic_init(
void) {}