aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/basic_mmio_gpio.h
diff options
context:
space:
mode:
authorPawel Moll <pawel.moll@arm.com>2014-01-30 08:18:57 -0500
committerLinus Walleij <linus.walleij@linaro.org>2014-02-06 04:33:47 -0500
commit781f6d710d4482eab05cfaad50060a0ea8c0e4e0 (patch)
treeb4ebc7c5d301d7a1e759de71af9f7fdd11d870c9 /include/linux/basic_mmio_gpio.h
parentb7ab697369716ecf7c5b71114bdd22445f9a7a5e (diff)
gpio: generic: Add label to platform data
When registering more than one platform device, it is useful to set the gpio chip label in the platform data. Signed-off-by: Pawel Moll <pawel.moll@arm.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/basic_mmio_gpio.h')
-rw-r--r--include/linux/basic_mmio_gpio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/basic_mmio_gpio.h b/include/linux/basic_mmio_gpio.h
index d8a97ec0e2b8..0e97856b2cff 100644
--- a/include/linux/basic_mmio_gpio.h
+++ b/include/linux/basic_mmio_gpio.h
@@ -19,6 +19,7 @@
19#include <linux/spinlock_types.h> 19#include <linux/spinlock_types.h>
20 20
21struct bgpio_pdata { 21struct bgpio_pdata {
22 const char *label;
22 int base; 23 int base;
23 int ngpio; 24 int ngpio;
24}; 25};