commit | 2b25742556b1a351ce4821f6feddcba23bdd930b | [log] [tgz] |
---|---|---|
author | Michal Januszewski <spock@gentoo.org> | Sun Aug 13 23:24:26 2006 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Aug 14 12:54:29 2006 -0700 |
tree | f3edf7f05895f61c6ef366caa8af1a83b6f76905 | |
parent | e579dcbf23604cb33c08b5c3c3ac06ca36e7c683 [diff] |
[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 <spock@gentoo.org> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>