Skip to contentSkip to conversation

DevFS and i2c

DISCUSSION [email protected] 2 participants 2 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

Im trying to build the cvs checkout of 01-06-2003 of the i2c project. This build is supposed to be for 2.5.x kernel series. Im trying to build in on 2.5.70-mm2 kernel release.

However in /kernel/i2c-dev.c it seems that old (2.4.x) code for devfs is used. Is this correct? If so, how can I change it?

During build (make all) the following error occurs:

kernel/i2c-dev.c: In function `i2cdev_attach_adapter':
kernel/i2c-dev.c:414: `DEVFS_FL_DEFAULT' undeclared

Gcc is version 3.2.2

Regards,

Sander

Signature · 5 lines
Sander van den Berg
Student CS, TU/e
hypernation.net
[email protected]
PGP-public-key: see website
#1 lore raw
Quoted 5 lines · On Sun, Jun 01, 2003 at 04:32:45PM +0200, [email protected] wrote:

Hi,

Im trying to build the cvs checkout of 01-06-2003 of the i2c project. This build is supposed to be for 2.5.x kernel series. Im trying to build in on 2.5.70-mm2 kernel release.

No, please use the in-kernel version of the i2c code, not the cvs tree. The cvs tree will not work in 2.5.

Hope this helps,

greg k-h