Greg Ungerer cf6c31fc5c m68k: only use local gpio_request_one if not using GPIOLIB
Compiling for targets that use the local gpio code (not GPIOLIB) fail to
compile with:

  CC      arch/m68k/platform/coldfire/device.o
In file included from include/linux/gpio.h:45:0,
                 from arch/m68k/platform/coldfire/device.c:15:
/home/gerg/new-wave.git/linux-3.x/arch/m68k/include/asm/gpio.h:89:19: error: static declaration of ‘gpio_request_one’ follows non-static declaration
include/asm-generic/gpio.h:195:12: note: previous declaration of ‘gpio_request_one’ was here

Fix by conditionally using the local gpio_request_one() function based on
!CONFIG_GPIOLIB.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
2013-05-29 16:56:45 +10:00
..
2010-10-22 09:43:22 +02:00
2012-03-28 18:30:02 +01:00
2011-07-25 11:20:40 +10:00
2011-12-10 19:52:48 +01:00
2011-03-31 11:26:23 -03:00
2013-04-05 13:28:27 +01:00
2013-02-26 02:46:08 -05:00
2011-11-08 22:35:49 +01:00
2011-03-31 11:26:23 -03:00
2011-12-10 19:52:47 +01:00
2011-12-10 19:52:48 +01:00
2011-12-10 19:52:47 +01:00
2011-04-10 17:01:05 +02:00
2011-04-10 17:01:05 +02:00
2013-03-04 11:08:50 +10:00
2011-03-16 19:10:41 +01:00
2009-04-02 01:05:31 +00:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2012-04-22 20:16:50 +02:00