From: Jakub Bogusz <qboosh@pld-linux.org>
To: linux-kernel@vger.kernel.org
Subject: [PATCH 2.6] missing <linux/mm.h> include in drivers/sbus/char/vfc_dev.c
Date: Fri, 5 Mar 2004 13:25:44 +0100 [thread overview]
Message-ID: <20040305122544.GF29693@gruby.cs.net.pl> (raw)
[-- Attachment #1: Type: text/plain, Size: 578 bytes --]
drivers/sbus/char/vfc_dev (SUN_VIDEOPIX option) build stopped on:
drivers/sbus/char/vfc_dev.c: In function `vfc_mmap':
drivers/sbus/char/vfc_dev.c:623: error: dereferencing pointer to incomplete type
drivers/sbus/char/vfc_dev.c:623: error: dereferencing pointer to incomplete type
drivers/sbus/char/vfc_dev.c:627: error: dereferencing pointer to incomplete type
drivers/sbus/char/vfc_dev.c:628: error: `VM_SHM' undeclared (first use in this function)
[...and so on]
Fix attached.
--
Jakub Bogusz http://cyber.cs.net.pl/~qboosh/
PLD Team http://www.pld-linux.org/
[-- Attachment #2: linux-vfc_dev-include.patch --]
[-- Type: text/plain, Size: 351 bytes --]
--- linux-2.6.4-rc2/drivers/sbus/char/vfc_dev.c.orig 2004-03-04 06:16:48.000000000 +0000
+++ linux-2.6.4-rc2/drivers/sbus/char/vfc_dev.c 2004-03-05 12:00:34.000000000 +0000
@@ -24,6 +24,7 @@
#include <linux/smp_lock.h>
#include <linux/delay.h>
#include <linux/spinlock.h>
+#include <linux/mm.h>
#include <asm/openprom.h>
#include <asm/oplib.h>
reply other threads:[~2004-03-05 12:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20040305122544.GF29693@gruby.cs.net.pl \
--to=qboosh@pld-linux.org \
--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
all inboxes | Powered by JetHome®