linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* scx200_wdt: Include linux/fs.h for struct file
@ 2003-10-22 11:20 Herbert Xu
  2003-10-22 11:30 ` Herbert Xu
  2003-10-22 11:34 ` Dave Jones
  0 siblings, 2 replies; 3+ messages in thread
From: Herbert Xu @ 2003-10-22 11:20 UTC (permalink / raw)
  To: Linus Torvalds, Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 393 bytes --]

Hi:

This patch adds an explicit inclusion of linux/fs.h as it needs to
dereference struct file *.  This is needed for it to compile on
non-i386 architectures.

Cheers,
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

[-- Attachment #2: p --]
[-- Type: text/plain, Size: 633 bytes --]

Index: kernel-source-2.5/drivers/char/watchdog/scx200_wdt.c
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/kernel-source-2.5/drivers/char/watchdog/scx200_wdt.c,v
retrieving revision 1.1.1.3
diff -u -r1.1.1.3 scx200_wdt.c
--- kernel-source-2.5/drivers/char/watchdog/scx200_wdt.c	9 Aug 2003 08:11:55 -0000	1.1.1.3
+++ kernel-source-2.5/drivers/char/watchdog/scx200_wdt.c	22 Oct 2003 11:16:59 -0000
@@ -27,6 +27,7 @@
 #include <linux/reboot.h>
 #include <linux/pci.h>
 #include <linux/scx200.h>
+#include <linux/fs.h>
 
 #include <asm/uaccess.h>
 #include <asm/io.h>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-22 11:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-22 11:20 scx200_wdt: Include linux/fs.h for struct file Herbert Xu
2003-10-22 11:30 ` Herbert Xu
2003-10-22 11:34 ` Dave Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).