From: Michal Januszewski Date: Mon, 14 Aug 2006 06:24:26 +0000 (-0700) Subject: [PATCH] fbdev: include backlight.h only when __KERNEL__ is defined X-Git-Tag: v2.6.18-rc5~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b25742556b1a351ce4821f6feddcba23bdd930b;p=pandora-kernel.git [PATCH] fbdev: include backlight.h only when __KERNEL__ is defined linux/backlight.h pulls in header files (eg. ioport.h) that break compilation of userspace programs. To solve the problem, only include backlight.h in fb.h if compiling kernel stuff. Signed-off-by: Michal Januszewski Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed