linux/debian/patches/m68k-no-backlight.patch

13 lines
372 B
Diff
Raw Normal View History

--- linux-2.6-2.6.18/drivers/macintosh/adbhid.c.orig 2006-09-20 05:42:06.000000000 +0200
+++ linux-2.6-2.6.18/drivers/macintosh/adbhid.c 2006-09-27 22:06:55.000000000 +0200
@@ -45,7 +45,9 @@
#include <linux/pmu.h>
#include <asm/machdep.h>
+#ifdef CONFIG_PMAC_BACKLIGHT
#include <asm/backlight.h>
+#endif
#ifdef CONFIG_PPC_PMAC
#include <asm/pmac_feature.h>
#endif