]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
watchdog: mtx1-wdt: fix build failure
authorFlorian Fainelli <florian@openwrt.org>
Mon, 17 Oct 2011 17:47:44 +0000 (19:47 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 7 Nov 2011 20:32:44 +0000 (12:32 -0800)
commit35b6863ce555ce59e36a2c2bf7c8a8e9a9da577b
tree2a0d124db9614afd1d5afcb5236533ac982224fa
parent0804bd48bb9787acf5ae7d2f155fdea11d198018
watchdog: mtx1-wdt: fix build failure

Commit 6d86a0ee (watchdog: mtx1-wdt: request gpio before using it) was
backported from upstream. The patch is using a gpiolib call which is only
available in kernel 2.6.34+. Fix build by using the "old" gpiolib API
instead.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/watchdog/mtx-1_wdt.c