From: Dave Jones <davej@redhat.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Cc: Michael Hanselmann <linux-kernel@hansmi.ch>,
Antonino Daplas <adaplas@pol.net>
Subject: fix implicit declaration in nv_backlight.
Date: Wed, 28 Feb 2007 12:36:25 -0500 [thread overview]
Message-ID: <20070228173625.GA3359@redhat.com> (raw)
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@redhat.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
next reply other threads:[~2007-02-28 17:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-28 17:36 Dave Jones [this message]
2007-02-28 21:13 ` fix implicit declaration in nv_backlight Michael Hanselmann
2007-02-28 21:26 ` Dave Jones
2007-02-28 21:44 ` Antonino A. Daplas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070228173625.GA3359@redhat.com \
--to=davej@redhat.com \
--cc=adaplas@pol.net \
--cc=linux-kernel@hansmi.ch \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox