aboutsummaryrefslogtreecommitdiff
path: root/drivers/base/devres.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2011-09-20 21:45:56 +0200
committerArnd Bergmann <arnd@arndb.de>2011-09-20 21:45:56 +0200
commit1fdb4888e45f1413972a8e9da55f3ffc08b9abcb (patch)
tree635ef73cdff38d21a529bbdcab4cd2cb39a29484 /drivers/base/devres.c
parent1884af9365a96314164f4110d4528d425e5dd843 (diff)
parentceb1c532ba6220900e61ec7073a9234661efa450 (diff)
Merge branch 'omap/cleanup' into next/cleanup
Diffstat (limited to 'drivers/base/devres.c')
-rw-r--r--drivers/base/devres.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/devres.c b/drivers/base/devres.c
index cf7a0c78805..65cd7483245 100644
--- a/drivers/base/devres.c
+++ b/drivers/base/devres.c
@@ -397,6 +397,7 @@ static int remove_nodes(struct device *dev,
static int release_nodes(struct device *dev, struct list_head *first,
struct list_head *end, unsigned long flags)
+ __releases(&dev->devres_lock)
{
LIST_HEAD(todo);
int cnt;