From: John Jacques <[email protected]>

Update the driver to match the latest Linux interface.

Signed-off-by: John Jacques <[email protected]>
---
 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

-- 
_______________________________________________
linux-yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to