Blackfin arch: explicit add a might sleep to gpio_free
authorUwe Kleine-Koenig <ukleinek@strlen.de>
Wed, 4 Feb 2009 09:02:30 +0000 (17:02 +0800)
committerBryan Wu <cooloney@kernel.org>
Wed, 4 Feb 2009 09:02:30 +0000 (17:02 +0800)
commit45c4f2a0b6c6302c5617534b8189c0e9b5a4a048
tree13f7088078cfedb735354df7aed9a6720e3302bf
parent2f95d5bd84bfbe8cf62cb1c4306354cfc139370b
Blackfin arch: explicit add a might sleep to gpio_free

According to the documentation gpio_free should only be called from task
context only.  To make this more explicit add a might sleep to all
implementations.

This patch changes the gpio_free implementations for the blackfin
architecture.

Signed-off-by: Uwe Kleine-Koenig <ukleinek@strlen.de>
Cc: David Brownell <david-b@pacbell.net>
Acked-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/blackfin/kernel/bfin_gpio.c