Blackfin arch: refine the gpio check
authorMike Frysinger <vapier.adi@gmail.com>
Tue, 28 Oct 2008 08:16:29 +0000 (16:16 +0800)
committerBryan Wu <cooloney@kernel.org>
Tue, 28 Oct 2008 08:16:29 +0000 (16:16 +0800)
commit6a87d29bc684d845fe8338a8ce279f743d343250
treec2ea737e052787f940a8a012974213d619d498d2
parenta2d03a1d8e2562cc64a223485c06db9840ac3b2b
Blackfin arch: refine the gpio check

refine the gpio check in peripheral_request() so that it only
checks pins that can be used as both GPIO and a peripheral

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/kernel/bfin_gpio.c