Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | Date | Wed, 22 Oct 2003 21:20:35 +1000 | Subject | scx200_wdt: Include linux/fs.h for struct file | From | Herbert Xu <> |
| |
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 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> | ![\](/images/icornerr.gif) |