ssb: add GPIO driver
[linux-2.6-block.git] / include / linux / ssb / ssb.h
index bb674c02f3060c3917763dfe2bae1f8bd3559a4d..3862a5bbd73b3ca513f2c9ad4dc9d5c2ffbd7b40 100644 (file)
@@ -6,6 +6,7 @@
 #include <linux/types.h>
 #include <linux/spinlock.h>
 #include <linux/pci.h>
+#include <linux/gpio.h>
 #include <linux/mod_devicetable.h>
 #include <linux/dma-mapping.h>
 
@@ -433,6 +434,9 @@ struct ssb_bus {
        /* Lock for GPIO register access. */
        spinlock_t gpio_lock;
 #endif /* EMBEDDED */
+#ifdef CONFIG_SSB_DRIVER_GPIO
+       struct gpio_chip gpio;
+#endif /* DRIVER_GPIO */
 
        /* Internal-only stuff follows. Do not touch. */
        struct list_head list;