summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/viperboard.c
diff options
context:
space:
mode:
authorLars Poeschel <poeschel@lemonage.de>2012-11-19 16:36:04 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2012-11-20 12:21:13 +0100
commit174a13aa8669331605b138aaf61569dd7189e453 (patch)
tree58b52bc238649f070b41a0d3ec7c71dea98aed9b /drivers/mfd/viperboard.c
parent9d5b72de0d1627b130fa69c5edf58b5b2df4ca50 (diff)
i2c: Add viperboard i2c master driver
This adds the mfd cell to use the i2c part of the Nano River Technologies viperboard as i2c master. Signed-off-by: Lars Poeschel <poeschel@lemonage.de> 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 c75ac08f639..4f74ec868a5 100644
--- a/drivers/mfd/viperboard.c
+++ b/drivers/mfd/viperboard.c
@@ -41,6 +41,9 @@ static struct mfd_cell vprbrd_devs[] = {
{
.name = "viperboard-gpio",
},
+ {
+ .name = "viperboard-i2c",
+ },
};
static int vprbrd_probe(struct usb_interface *interface,