[linux-yocto] [PATCH 23/48] drivers/gpio: Fix Compile Errors
Daniel Dragomir
daniel.dragomir at windriver.com
Mon Dec 11 05:13:53 PST 2017
From: John Jacques <john.jacques at intel.com>
Update the driver to match the latest Linux interface.
Signed-off-by: John Jacques <john.jacques at intel.com>
---
drivers/gpio/gpio-axxia.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpio/gpio-axxia.c b/drivers/gpio/gpio-axxia.c
index 538a317..791a9257 100644
--- a/drivers/gpio/gpio-axxia.c
+++ b/drivers/gpio/gpio-axxia.c
@@ -190,7 +190,7 @@ static int pl061_irq_type(struct irq_data *d, unsigned int trigger)
return 0;
}
-static void pl061_irq_handler(unsigned int irq, struct irq_desc *desc)
+static void pl061_irq_handler(struct irq_desc *desc)
{
unsigned long pending;
int offset;
@@ -283,7 +283,6 @@ static int pl061_probe(struct amba_device *adev, const struct amba_id *id)
chip->gc.set = pl061_set_value;
chip->gc.ngpio = PL061_GPIO_NR;
chip->gc.label = dev_name(dev);
- chip->gc.dev = dev;
chip->gc.owner = THIS_MODULE;
ret = gpiochip_add(&chip->gc);
--
2.7.4
More information about the linux-yocto
mailing list