From: Jiri Kosina on
Hi,

current Linus' tree (57d54889cd00) doesn't compile when CONFIG_I2C_XILINX
is enabled:

drivers/i2c/busses/i2c-xiic.c:39:28: error: linux/i2c-xiic.h: No such file or directory
drivers/i2c/busses/i2c-xiic.c: In function 'xiic_i2c_probe':
drivers/i2c/busses/i2c-xiic.c:750: error: dereferencing pointer to incomplete type
drivers/i2c/busses/i2c-xiic.c:751: error: dereferencing pointer to incomplete type

Seems like the following commit

commit e1d5b6598cdc33257fe68302ae9db81d2f7bb883
Author: Richard Röjfors <richard.rojfors(a)pelagicore.com>
Date: Thu Feb 11 10:42:00 2010 +0100

i2c: Add support for Xilinx XPS IIC Bus Interface

forgot to add some header files.

--
Jiri Kosina
SUSE Labs, Novell Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Randy Dunlap on
On Tue, 9 Mar 2010 17:31:04 +0100 (CET) Jiri Kosina wrote:

> Hi,
>
> current Linus' tree (57d54889cd00) doesn't compile when CONFIG_I2C_XILINX
> is enabled:
>
> drivers/i2c/busses/i2c-xiic.c:39:28: error: linux/i2c-xiic.h: No such file or directory
> drivers/i2c/busses/i2c-xiic.c: In function 'xiic_i2c_probe':
> drivers/i2c/busses/i2c-xiic.c:750: error: dereferencing pointer to incomplete type
> drivers/i2c/busses/i2c-xiic.c:751: error: dereferencing pointer to incomplete type
>
> Seems like the following commit
>
> commit e1d5b6598cdc33257fe68302ae9db81d2f7bb883
> Author: Richard Röjfors <richard.rojfors(a)pelagicore.com>
> Date: Thu Feb 11 10:42:00 2010 +0100
>
> i2c: Add support for Xilinx XPS IIC Bus Interface
>
> forgot to add some header files.


http://lkml.org/lkml/2010/3/9/50http://lkml.org/lkml/2010/3/9/50

---
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/