]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mfd: Define asic3 gpio_chip label
authorPaul Parsons <lost.distance@yahoo.com>
Tue, 9 Aug 2011 16:27:50 +0000 (16:27 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 24 Oct 2011 12:09:09 +0000 (14:09 +0200)
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>
drivers/mfd/asic3.c

index 3da3a901ec3e93da123fd955d2c54b43b5f71c55..3bd85bddf6e31e51096937abdb60ff170779e1c3 100644 (file)
@@ -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;