aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/wm831x/pdata.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mfd/wm831x/pdata.h')
-rw-r--r--include/linux/mfd/wm831x/pdata.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mfd/wm831x/pdata.h b/include/linux/mfd/wm831x/pdata.h
index 173086d42af4..afe4db49402d 100644
--- a/include/linux/mfd/wm831x/pdata.h
+++ b/include/linux/mfd/wm831x/pdata.h
@@ -104,11 +104,17 @@ struct wm831x_watchdog_pdata {
104#define WM831X_MAX_ISINK 2 104#define WM831X_MAX_ISINK 2
105 105
106struct wm831x_pdata { 106struct wm831x_pdata {
107 /** Used to distinguish multiple WM831x chips */
108 int wm831x_num;
109
107 /** Called before subdevices are set up */ 110 /** Called before subdevices are set up */
108 int (*pre_init)(struct wm831x *wm831x); 111 int (*pre_init)(struct wm831x *wm831x);
109 /** Called after subdevices are set up */ 112 /** Called after subdevices are set up */
110 int (*post_init)(struct wm831x *wm831x); 113 int (*post_init)(struct wm831x *wm831x);
111 114
115 /** Put the /IRQ line into CMOS mode */
116 bool irq_cmos;
117
112 int irq_base; 118 int irq_base;
113 int gpio_base; 119 int gpio_base;
114 struct wm831x_backlight_pdata *backlight; 120 struct wm831x_backlight_pdata *backlight;