diff options
author | Michal Januszewski <spock@gentoo.org> | 2006-08-13 23:24:26 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-08-14 12:54:29 -0700 |
commit | 2b25742556b1a351ce4821f6feddcba23bdd930b (patch) | |
tree | f3edf7f05895f61c6ef366caa8af1a83b6f76905 /include/linux/atmbr2684.h | |
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>
Diffstat (limited to 'include/linux/atmbr2684.h')
0 files changed, 0 insertions, 0 deletions