commit | b3db4a8ad19173a8fd0ced13d47c97910f1ab14b | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Thu Oct 01 15:43:56 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Oct 01 16:11:11 2009 -0700 |
tree | 28c6cf9c9240b1db27a85dc740407f8a7e124c97 | |
parent | 828c09509b9695271bcbdc53e9fc9a6a737148d2 [diff] |
asm-generic/gpio.h: pull in linux/kernel.h for might_sleep() The asm-generic/gpio.h header uses the might_sleep() macro but doesn't include the header for it, so any source code that might include linux/gpio.h before linux/kernel.h can easily lead to a build failure. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>