The patch titled fbdev: include backlight.h only when __KERNEL__ is defined has been added to the -mm tree. Its filename is fbdev-include-backlighth-only-when-__kernel__-is-defined.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: fbdev: include backlight.h only when __KERNEL__ is defined From: Michal Januszewski <spock@xxxxxxxxxx> 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@xxxxxxxxxx> Cc: "Antonino A. Daplas" <adaplas@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- include/linux/fb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN include/linux/fb.h~fbdev-include-backlighth-only-when-__kernel__-is-defined include/linux/fb.h --- a/include/linux/fb.h~fbdev-include-backlighth-only-when-__kernel__-is-defined +++ a/include/linux/fb.h @@ -1,7 +1,6 @@ #ifndef _LINUX_FB_H #define _LINUX_FB_H -#include <linux/backlight.h> #include <asm/types.h> /* Definitions of frame buffers */ @@ -381,6 +380,7 @@ struct fb_cursor { #include <linux/workqueue.h> #include <linux/notifier.h> #include <linux/list.h> +#include <linux/backlight.h> #include <asm/io.h> struct vm_area_struct; _ Patches currently in -mm which might be from spock@xxxxxxxxxx are fbdev-include-backlighth-only-when-__kernel__-is-defined.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html