Re: [PATCH 3/3] MIPS: BCM47xx: rewrite GPIO handling and use gpiolib

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hauke,

>  int gpio_to_irq(unsigned gpio)
>  {
> @@ -99,4 +216,11 @@ int gpio_to_irq(unsigned gpio)
>  	}
>  	return -EINVAL;
>  }
> -EXPORT_SYMBOL_GPL(gpio_to_irq);
> +EXPORT_SYMBOL(gpio_to_irq);

can you change this to use gpio_chip.to_irq()

and then #define gpio_to_irq __gpio_to_irq    inside your gpio.h ?

Thanks,
John



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux