ngw100: export J15 through sysfs
commit96706600de83966812b01a3cb310a13da2a1a4e9
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 7 Sep 2008 03:19:02 +0000 (6 20:19 -0700)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Mon, 22 Sep 2008 07:51:01 +0000 (22 09:51 +0200)
tree808954056fbfa9e5f98aa103068abbb9a1109416
parent7066412488281fd1c201dceb22a0dfe467012f76
ngw100: export J15 through sysfs

The NGW100 board has jumper J15 (near the reset button) which
is unused.  This patch exports it through the GPIO sysfs support
(as /sys/class/gpio/gpio62/value) so that it's easily queried
by boot scripts or whatever might want to know if the jumper
has been installed (value = 0) or not (value = 1, "default").

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
[haavard.skinnemoen@atmel.com: add missing include]
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
arch/avr32/boards/atngw100/setup.c