aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd/viperboard.c
diff options
context:
space:
mode:
authorLars Poeschel2012-11-05 15:48:24 +0100
committerSamuel Ortiz2012-11-20 12:21:12 +0100
commit9d5b72de0d1627b130fa69c5edf58b5b2df4ca50 (patch)
tree642b3beb4d7ee1170f52a4ce2e523b5c8b2ed9bc /drivers/mfd/viperboard.c
parentf01312d846016dbd38cc9865e580298fb61f2aa7 (diff)
gpio: Add viperboard gpio driver
This adds the mfd cell to use the gpio a and gpio b part of the Nano River Technologies viperboard. Signed-off-by: Lars Poeschel <poeschel@lemonage.de> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/viperboard.c')
-rw-r--r--drivers/mfd/viperboard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mfd/viperboard.c b/drivers/mfd/viperboard.c
index cd1e2fe95647..c75ac08f639c 100644
--- a/drivers/mfd/viperboard.c
+++ b/drivers/mfd/viperboard.c
@@ -38,6 +38,9 @@ static const struct usb_device_id vprbrd_table[] = {
MODULE_DEVICE_TABLE(usb, vprbrd_table);
static struct mfd_cell vprbrd_devs[] = {
+ {
+ .name = "viperboard-gpio",
+ },
};
static int vprbrd_probe(struct usb_interface *interface,