linux-next: i2c tree build failure

From: Stephen Rothwell
Date: Sun Aug 30 2009 - 21:21:11 EST


Hi Jean,

Today's linux-next build (powerpc ppc64_defconfig) failed like this:

drivers/i2c/i2c-core.c:234: warning: initialization from incompatible pointer type
drivers/i2c/i2c-core.c:537: warning: initialization from incompatible pointer type
drivers/i2c/i2c-core.c: In function 'i2c_register_adapter':
drivers/i2c/i2c-core.c:603: error: implicit declaration of function 'class_compat_create_link'
drivers/i2c/i2c-core.c: In function 'i2c_del_adapter':
drivers/i2c/i2c-core.c:789: error: implicit declaration of function 'class_compat_remove_link'
drivers/i2c/i2c-core.c: In function 'i2c_init':
drivers/i2c/i2c-core.c:999: error: implicit declaration of function 'class_compat_register'
drivers/i2c/i2c-core.c:999: warning: assignment makes pointer from integer without a cast
drivers/i2c/i2c-core.c:1012: error: implicit declaration of function 'class_compat_unregister'

I have used the i2c tree from next-20090828 for today.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature