Subject: [PATCH] fix vrc4173 base driver

From: Yoichi Yuasa <[email-masked]>
Date: Thu, 3 Jun 2004 23:16:27 +0900

Hi Ralf,

I found my mistake about vrc4173 base driver.

Please apply this patch to v2.6 CVS tree.

Yoichi

diff -urN -X dontdiff linux-orig/arch/mips/vr41xx/common/vrc4173.c linux/arch/mips/vr41xx/common/vrc4173.c
--- linux-orig/arch/mips/vr41xx/common/vrc4173.c	Thu May 27 08:14:29 2004
+++ linux/arch/mips/vr41xx/common/vrc4173.c	Mon May 31 00:51:02 2004
@@ -461,7 +461,7 @@
 	.name		= "NEC VRC4173",
 	.probe		= vrc4173_probe,
 	.remove		= vrc4173_remove,
-	.id_table	= vrc4173_table,
+	.id_table	= vrc4173_id_table,
 };
 
 static int __devinit vrc4173_init(void)
diff -urN -X dontdiff linux-orig/include/asm-mips/vr41xx/vrc4173.h linux/include/asm-mips/vr41xx/vrc4173.h
--- linux-orig/include/asm-mips/vr41xx/vrc4173.h	Thu May 27 08:14:44 2004
+++ linux/include/asm-mips/vr41xx/vrc4173.h	Mon May 31 00:50:13 2004
@@ -77,7 +77,7 @@
 /*
  * Clock Mask Unit
  */
-enum vrc4173_clock {
+typedef enum vrc4173_clock {
 	VRC4173_PIU_CLOCK,
 	VRC4173_KIU_CLOCK,
 	VRC4173_AIU_CLOCK,
@@ -98,7 +98,7 @@
 /*
  * General-Purpose I/O Unit
  */
-enum vrc4173_function {
+typedef enum vrc4173_function {
 	PS2_CHANNEL1,
 	PS2_CHANNEL2,
 	TOUCHPANEL,