linux-mips
[Top] [All Lists]

Re: I2C troubles with Au1550

To: Jordan Crouse <jordan.crouse@amd.com>
Subject: Re: I2C troubles with Au1550
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Date: Fri, 19 May 2006 19:00:05 +0400
Cc: linux-mips@linux-mips.org
In-reply-to: <20060519143247.GC9596@cosmic.amd.com>
Organization: MontaVista Software Inc.
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <ecb4efd10605181454v34ef19degf2cdd2535b37fc30@mail.gmail.com> <20060519143247.GC9596@cosmic.amd.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803
Hello.

Jordan Crouse wrote:
On 18/05/06 17:54 -0400, Clem Taylor wrote:

Maybe Jordan could try again with a fresh patch because it really does
seem to help...

Here you go, fresh out of the oven.. :)

[...]

--- a/drivers/i2c/busses/i2c-au1550.c
+++ b/drivers/i2c/busses/i2c-au1550.c
@@ -35,7 +35,15 @@ #include <linux/errno.h>
 #include <linux/i2c.h>
#include <asm/mach-au1x00/au1000.h>
-#include <asm/mach-pb1x00/pb1550.h>
+#if defined(CONFIG_MIPS_PB1550)
+ #include <asm/mach-pb1x00/pb1550.h>
+#endif
+#if defined(CONFIG_MIPS_PB1200)
+ #include <asm/mach-pb1x00/pb1200.h>
+#endif
+#if defined(CONFIG_MIPS_DB1200)
+ #include <asm/mach-db1x00/db1200.h>
+#endif

   Instead of all this, just #include <asm/mach-au1x00/au1xxx.h>

WBR, Sergei

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