lkml.org 
[lkml]   [2010]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH -next] i2c: fix xiic build error
On 02/16/10 08:36, Randy Dunlap wrote:
> On 02/16/10 08:33, Jean Delvare wrote:
>> Hi Randy,
>>
>> On Tue, 16 Feb 2010 08:07:05 -0800, Randy Dunlap wrote:
>>> On 02/04/10 12:11, Randy Dunlap wrote:
>>>
>>>
>>> This patch is still needed in linux-next-20100216.
>>
>> Nothing I can do about it, as the i2c-xiic driver is neither upstream
>> nor in my tree.
>>
>
> Thanks, Jean.
>
> Next/merge.log tells me:
> Merge remote branch 'bjdooks-i2c/next-i2c'
>
> Ben??
>

ping Ben.

Here's the patch again.

---
From: Randy Dunlap <randy.dunlap@oracle.com>

Add header file to fix build error:

drivers/i2c/busses/i2c-xiic.c:493: error: implicit declaration of function 'mdelay'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: "Ben Dooks (embedded platforms)" <ben-linux@fluff.org>
Cc: linux-i2c@vger.kernel.org
---
drivers/i2c/busses/i2c-xiic.c | 1 +
1 file changed, 1 insertion(+)

--- linux-next-20100204.orig/drivers/i2c/busses/i2c-xiic.c
+++ linux-next-20100204/drivers/i2c/busses/i2c-xiic.c
@@ -31,6 +31,7 @@
#include <linux/module.h>
#include <linux/init.h>
#include <linux/errno.h>
+#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>

\
 
 \ /
  Last update: 2010-02-22 17:39    [W:0.069 / U:0.856 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site