[ARM] Orion5x: set valid GPIO inhibit power-off for d2net
authorSimon Guinot <sguinot@lacie.com>
Tue, 9 Feb 2010 20:21:49 +0000 (21:21 +0100)
committerNicolas Pitre <nico@fluxnic.net>
Wed, 10 Feb 2010 01:45:04 +0000 (20:45 -0500)
commitd74b96a73a99853708d6b278c2ce683657fa1ec5
tree96004a5fa1bb67d6de507b7af34ed5fe02f1a08d
parente233230f9c8f02d4c3a643ec5067ca21bc90ee9a
[ARM] Orion5x: set valid GPIO inhibit power-off for d2net

This patch allow user-space to configure the switch power-off behaviour
via the gpiolib sysfs interface.

Signed-off-by: Simon Guinot <sguinot@lacie.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
arch/arm/mach-orion5x/d2net-setup.c