[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070228173625.GA3359@redhat.com>
Date:	Wed, 28 Feb 2007 12:36:25 -0500
From:	Dave Jones <davej@...hat.com>
To:	Linux Kernel <linux-kernel@...r.kernel.org>
Cc:	Michael Hanselmann <linux-kernel@...smi.ch>,
	Antonino Daplas <adaplas@....net>
Subject: fix implicit declaration in nv_backlight.
drivers/video/nvidia/nv_backlight.c: In function 'nvidia_bl_init':
drivers/video/nvidia/nv_backlight.c:103: error: implicit declaration of function 'pmac_has_backlight_type'
Signed-off-by: Dave Jones <davej@...hat.com>
--- linux-2.6.20.noarch/drivers/video/nvidia/nv_backlight.c~	2007-02-20 22:25:15.000000000 -0500
+++ linux-2.6.20.noarch/drivers/video/nvidia/nv_backlight.c	2007-02-20 22:25:31.000000000 -0500
@@ -12,6 +12,9 @@
 #include <linux/backlight.h>
 #include <linux/fb.h>
 #include <linux/pci.h>
+#ifdef __powerpc__
+#include <asm/backlight.h>
+#endif
 #include "nv_local.h"
 #include "nv_type.h"
 #include "nv_proto.h"
-- 
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists