2004-03-05 12:25:51

by Jakub Bogusz

[permalink] [raw]
Subject: [PATCH 2.6] missing <linux/mm.h> include in drivers/sbus/char/vfc_dev.c

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/


Attachments:
(No filename) (578.00 B)
linux-vfc_dev-include.patch (351.00 B)
Download all attachments