From: Mike Frysinger Date: Thu, 1 Oct 2009 22:43:56 +0000 (-0700) Subject: asm-generic/gpio.h: pull in linux/kernel.h for might_sleep() X-Git-Tag: v2.6.32-rc3~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3db4a8ad19173a8fd0ced13d47c97910f1ab14b;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed