Skip to contentSkip to conversation

Fix compiler errors in drivers/char/rio/rio_linux.c

PATCH New Bob Miller 1 participant 1 message Apr 10, 2003

lore
Share & tools
lore

Bob Miller

author
#0 lore raw

PATCH 1/1 Fix compiler errors in drivers/char/rio/rio_linux.c

When the compatmac.h include file was deleted the indirect include of asm/uaccess.h was lost. This patch adds a direct include of asm/uaccess.h.

This fixes bugme.osdl.org bug number 566.

Signature · 14 lines
Bob Miller					Email: [email protected]
Open Source Development Lab			Phone: 503.626.2455 Ext. 17

===== drivers/char/rio/rio_linux.c 1.16 vs edited =====
--- 1.16/drivers/char/rio/rio_linux.c	Mon Mar 31 15:55:28 2003
+++ edited/drivers/char/rio/rio_linux.c	Thu Apr 10 11:25:23 2003
@@ -60,6 +60,7 @@
 #include <linux/init.h>
 
 #include <linux/generic_serial.h>
+#include <asm/uaccess.h>
 
 #if BITS_PER_LONG != 32
 #  error FIXME: this driver only works on 32-bit platforms