Re: [PATCH 2/2] gpio: do not call __gpio_xxx under !CONFIG_GPIOLIB

2012-11-05 Thread Yuanhan Liu
On Sun, Nov 04, 2012 at 06:47:12PM +0100, Linus Walleij wrote: > On Wed, Oct 31, 2012 at 8:00 AM, Yuanhan Liu > wrote: > > > Those functions are availabe only when CONFIG_GPIOLIB is set. So, we > > should not call them under !CONFIG_GPIOLIB block. > > > > This would fix following build errros: >

Re: [PATCH 2/2] gpio: do not call __gpio_xxx under !CONFIG_GPIOLIB

2012-11-05 Thread Yuanhan Liu
On Sun, Nov 04, 2012 at 06:47:12PM +0100, Linus Walleij wrote: On Wed, Oct 31, 2012 at 8:00 AM, Yuanhan Liu yuanhan@linux.intel.com wrote: Those functions are availabe only when CONFIG_GPIOLIB is set. So, we should not call them under !CONFIG_GPIOLIB block. This would fix following

Re: [PATCH 2/2] gpio: do not call __gpio_xxx under !CONFIG_GPIOLIB

2012-11-04 Thread Linus Walleij
On Wed, Oct 31, 2012 at 8:00 AM, Yuanhan Liu wrote: > Those functions are availabe only when CONFIG_GPIOLIB is set. So, we > should not call them under !CONFIG_GPIOLIB block. > > This would fix following build errros: > include/asm-generic/gpio.h: In function 'gpio_get_value_cansleep': >

Re: [PATCH 2/2] gpio: do not call __gpio_xxx under !CONFIG_GPIOLIB

2012-11-04 Thread Linus Walleij
On Wed, Oct 31, 2012 at 8:00 AM, Yuanhan Liu yuanhan@linux.intel.com wrote: Those functions are availabe only when CONFIG_GPIOLIB is set. So, we should not call them under !CONFIG_GPIOLIB block. This would fix following build errros: include/asm-generic/gpio.h: In function

[PATCH 2/2] gpio: do not call __gpio_xxx under !CONFIG_GPIOLIB

2012-10-31 Thread Yuanhan Liu
Those functions are availabe only when CONFIG_GPIOLIB is set. So, we should not call them under !CONFIG_GPIOLIB block. This would fix following build errros: include/asm-generic/gpio.h: In function 'gpio_get_value_cansleep': include/asm-generic/gpio.h:220:2: error: implicit declaration of

[PATCH 2/2] gpio: do not call __gpio_xxx under !CONFIG_GPIOLIB

2012-10-31 Thread Yuanhan Liu
Those functions are availabe only when CONFIG_GPIOLIB is set. So, we should not call them under !CONFIG_GPIOLIB block. This would fix following build errros: include/asm-generic/gpio.h: In function 'gpio_get_value_cansleep': include/asm-generic/gpio.h:220:2: error: implicit declaration of