mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.6] missing <linux/mm.h> include in drivers/sbus/char/vfc_dev.c
@ 2004-03-05 12:25 Jakub Bogusz
  0 siblings, 0 replies; only message in thread
From: Jakub Bogusz @ 2004-03-05 12:25 UTC (permalink / raw)
  To: linux-kernel

[-- 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>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-05 12:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-05 12:25 [PATCH 2.6] missing <linux/mm.h> include in drivers/sbus/char/vfc_dev.c Jakub Bogusz

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®