Messages in this thread Patch in this message | | | Subject | [PATCH] mfd: asic3: Define gpio_chip label | From | "Paul Parsons" <> | Date | Tue, 09 Aug 2011 16:27:50 +0000 |
| |
Defined the gpio_chip label in the mfd/asic3 driver for diagnostics.
Signed-off-by: Paul Parsons <lost.distance@yahoo.com> ---
diff -uprN clean-3.0.1/drivers/mfd/asic3.c linux-3.0.1/drivers/mfd/asic3.c --- clean-3.0.1/drivers/mfd/asic3.c 2011-08-05 05:59:21.000000000 +0100 +++ linux-3.0.1/drivers/mfd/asic3.c 2011-08-08 11:22:58.935625761 +0100 @@ -949,6 +949,7 @@ static int __init asic3_probe(struct pla 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;
| |