]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: fix build on CONFIG_GPIO_SYSFS=n
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Mon, 28 Jul 2008 22:46:38 +0000 (15:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Jul 2008 23:30:21 +0000 (16:30 -0700)
commit79f420886f9f6b40d82cf3e5eca6090875b5dbf7
tree9c31bdb948e5bbb01e481fb1d74b9983aa93c987
parent6daf511bce0e75bdee3824f75ccb2aa5b4ea5001
gpio: fix build on CONFIG_GPIO_SYSFS=n

If CONFIG_GENERIC_GPIO=y && CONFIG_GPIO_SYSFS=n, gpio_export() in
asm-generic/gpio.h refers -ENOSYS and causes build error.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-generic/gpio.h