aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/viperboard.c
diff options
context:
space:
mode:
authorLars Poeschel <poeschel@lemonage.de>2012-11-05 09:48:26 -0500
committerSamuel Ortiz <sameo@linux.intel.com>2012-11-20 06:21:13 -0500
commitffd8a6e7a77802dd09559be78dea63956aa8f1d5 (patch)
tree1d77fe3d0a930d27ce1ac58d8c4a7f853b751b4c /drivers/mfd/viperboard.c
parent174a13aa8669331605b138aaf61569dd7189e453 (diff)
iio: adc: Add viperboard adc driver
This adds the mfd cell to use the adc part of the Nano River Technologies viperboard. Signed-off-by: Lars Poeschel <poeschel@lemonage.de> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Jonathan Cameron <jic23@kernel.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 4f74ec868a52..276122b37199 100644
--- a/drivers/mfd/viperboard.c
+++ b/drivers/mfd/viperboard.c
@@ -44,6 +44,9 @@ static struct mfd_cell vprbrd_devs[] = {
44 { 44 {
45 .name = "viperboard-i2c", 45 .name = "viperboard-i2c",
46 }, 46 },
47 {
48 .name = "viperboard-adc",
49 },
47}; 50};
48 51
49static int vprbrd_probe(struct usb_interface *interface, 52static int vprbrd_probe(struct usb_interface *interface,