netdev
[Top] [All Lists]

[PATCH] farsync needs <asm/io.h>

To: jgarzik@xxxxxxxxx
Subject: [PATCH] farsync needs <asm/io.h>
From: Christoph Hellwig <hch@xxxxxx>
Date: Mon, 31 May 2004 11:12:08 +0200
Cc: netdev@xxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
i386 gets it implicitly from somewhere but some architectures don't.
Also move <asm/uaccess.h> down so we have asm after linux headers.


--- 1.20/drivers/net/wan/farsync.c      2004-05-27 19:24:11 +02:00
+++ edited/drivers/net/wan/farsync.c    2004-05-30 10:06:12 +02:00
@@ -21,9 +21,10 @@
 #include <linux/pci.h>
 #include <linux/ioport.h>
 #include <linux/init.h>
-#include <asm/uaccess.h>
 #include <linux/if.h>
 #include <linux/hdlc.h>
+#include <asm/io.h>
+#include <asm/uaccess.h>
 
 #include "farsync.h"
 

<Prev in Thread] Current Thread [Next in Thread>