asm-generic/gpio.h: pull in linux/kernel.h for might_sleep()
commitb3db4a8ad19173a8fd0ced13d47c97910f1ab14b
authorMike Frysinger <vapier@gentoo.org>
Thu, 1 Oct 2009 22:43:56 +0000 (1 15:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 Oct 2009 23:11:11 +0000 (1 16:11 -0700)
tree28c6cf9c9240b1db27a85dc740407f8a7e124c97
parent828c09509b9695271bcbdc53e9fc9a6a737148d2
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>
include/asm-generic/gpio.h