lkml.org 
[lkml]   [2003]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subjectscx200_wdt: Include linux/fs.h for struct file
From
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>
\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.023 / U:4.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site