]> Pileus Git - ~andy/linux/blobdiff - include/linux/basic_mmio_gpio.h
Merge tag 'mfd-3.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6
[~andy/linux] / include / linux / basic_mmio_gpio.h
index feb9121967458e8c99515389d2923cb573547535..1c504ca5bdb344154dc69b0c6068c3494bdc05da 100644 (file)
@@ -67,6 +67,10 @@ int bgpio_remove(struct bgpio_chip *bgc);
 int bgpio_init(struct bgpio_chip *bgc, struct device *dev,
               unsigned long sz, void __iomem *dat, void __iomem *set,
               void __iomem *clr, void __iomem *dirout, void __iomem *dirin,
-              bool big_endian);
+              unsigned long flags);
+
+#define BGPIOF_BIG_ENDIAN              BIT(0)
+#define BGPIOF_UNREADABLE_REG_SET      BIT(1) /* reg_set is unreadable */
+#define BGPIOF_UNREADABLE_REG_DIR      BIT(2) /* reg_dir is unreadable */
 
 #endif /* __BASIC_MMIO_GPIO_H */