summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/asic3.c
diff options
context:
space:
mode:
authorPaul Parsons <lost.distance@yahoo.com>2011-08-09 16:27:50 +0000
committerSamuel Ortiz <sameo@linux.intel.com>2011-10-24 14:09:09 +0200
commitd8e4a88b7974ea03015f515383fb2576fbb517f1 (patch)
treee956111c8d39b6056eeac09be183e12aa2dac698 /drivers/mfd/asic3.c
parentc29a81270bd3cbdf0c603d42f4c2d17acf94a0bc (diff)
downloadop-kernel-dev-d8e4a88b7974ea03015f515383fb2576fbb517f1.zip
op-kernel-dev-d8e4a88b7974ea03015f515383fb2576fbb517f1.tar.gz
mfd: Define asic3 gpio_chip label
Defined the gpio_chip label in the mfd/asic3 driver for diagnostics. Signed-off-by: Paul Parsons <lost.distance@yahoo.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/asic3.c')
-rw-r--r--drivers/mfd/asic3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/asic3.c b/drivers/mfd/asic3.c
index 3da3a90..3bd85bd 100644
--- a/drivers/mfd/asic3.c
+++ b/drivers/mfd/asic3.c
@@ -968,6 +968,7 @@ static int __init asic3_probe(struct platform_device *pdev)
goto out_unmap;
}
+ asic->gpio.label = "asic3";
asic->gpio.base = pdata->gpio_base;
asic->gpio.ngpio = ASIC3_NUM_GPIOS;
asic->gpio.get = asic3_gpio_get;
OpenPOWER on IntegriCloud