]> Pileus Git - ~andy/linux/blobdiff - include/linux/ssb/ssb.h
Merge branch 'stable/for-jens-3.8' of git://git.kernel.org/pub/scm/linux/kernel/git...
[~andy/linux] / include / linux / ssb / ssb.h
index bb674c02f3060c3917763dfe2bae1f8bd3559a4d..22958d68ecfe19016e721eb552cd5f901bbbbf89 100644 (file)
@@ -6,8 +6,10 @@
 #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>
+#include <linux/platform_device.h>
 
 #include <linux/ssb/ssb_regs.h>
 
@@ -432,7 +434,11 @@ struct ssb_bus {
 #ifdef CONFIG_SSB_EMBEDDED
        /* Lock for GPIO register access. */
        spinlock_t gpio_lock;
+       struct platform_device *watchdog;
 #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;