gpiolib: Make WM831x GPIO count dynamic
[safe/jmp/linux-2.6] / include / linux / mfd / wm831x / core.h
index 91eb493..c1bc59f 100644 (file)
@@ -253,6 +253,8 @@ struct wm831x {
        unsigned int irq_base;
        int irq_masks[5];
 
+       int num_gpio;
+
        struct mutex auxadc_lock;
 
        /* The WM831x has a security key blocking access to certain