diff options
Diffstat (limited to 'drivers/gpio/gpio-bcm-kona.c')
-rw-r--r-- | drivers/gpio/gpio-bcm-kona.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpio/gpio-bcm-kona.c b/drivers/gpio/gpio-bcm-kona.c index e5aa4d0b49de..b4f20f785708 100644 --- a/drivers/gpio/gpio-bcm-kona.c +++ b/drivers/gpio/gpio-bcm-kona.c | |||
@@ -323,7 +323,7 @@ static void bcm_kona_gpio_irq_ack(struct irq_data *d) | |||
323 | { | 323 | { |
324 | struct bcm_kona_gpio *kona_gpio; | 324 | struct bcm_kona_gpio *kona_gpio; |
325 | void __iomem *reg_base; | 325 | void __iomem *reg_base; |
326 | int gpio = d->hwirq; | 326 | unsigned gpio = d->hwirq; |
327 | int bank_id = GPIO_BANK(gpio); | 327 | int bank_id = GPIO_BANK(gpio); |
328 | int bit = GPIO_BIT(gpio); | 328 | int bit = GPIO_BIT(gpio); |
329 | u32 val; | 329 | u32 val; |
@@ -344,7 +344,7 @@ static void bcm_kona_gpio_irq_mask(struct irq_data *d) | |||
344 | { | 344 | { |
345 | struct bcm_kona_gpio *kona_gpio; | 345 | struct bcm_kona_gpio *kona_gpio; |
346 | void __iomem *reg_base; | 346 | void __iomem *reg_base; |
347 | int gpio = d->hwirq; | 347 | unsigned gpio = d->hwirq; |
348 | int bank_id = GPIO_BANK(gpio); | 348 | int bank_id = GPIO_BANK(gpio); |
349 | int bit = GPIO_BIT(gpio); | 349 | int bit = GPIO_BIT(gpio); |
350 | u32 val; | 350 | u32 val; |
@@ -365,7 +365,7 @@ static void bcm_kona_gpio_irq_unmask(struct irq_data *d) | |||
365 | { | 365 | { |
366 | struct bcm_kona_gpio *kona_gpio; | 366 | struct bcm_kona_gpio *kona_gpio; |
367 | void __iomem *reg_base; | 367 | void __iomem *reg_base; |
368 | int gpio = d->hwirq; | 368 | unsigned gpio = d->hwirq; |
369 | int bank_id = GPIO_BANK(gpio); | 369 | int bank_id = GPIO_BANK(gpio); |
370 | int bit = GPIO_BIT(gpio); | 370 | int bit = GPIO_BIT(gpio); |
371 | u32 val; | 371 | u32 val; |
@@ -386,7 +386,7 @@ static int bcm_kona_gpio_irq_set_type(struct irq_data *d, unsigned int type) | |||
386 | { | 386 | { |
387 | struct bcm_kona_gpio *kona_gpio; | 387 | struct bcm_kona_gpio *kona_gpio; |
388 | void __iomem *reg_base; | 388 | void __iomem *reg_base; |
389 | int gpio = d->hwirq; | 389 | unsigned gpio = d->hwirq; |
390 | u32 lvl_type; | 390 | u32 lvl_type; |
391 | u32 val; | 391 | u32 val; |
392 | unsigned long flags; | 392 | unsigned long flags; |