[Bug 567] New: compile failure in drivers/i2c/scx200_i2c.c

Martin J. Bligh (mbligh@aracnet.com)
Wed, 09 Apr 2003 14:58:51 -0700


http://bugme.osdl.org/show_bug.cgi?id=567

Summary: compile failure in drivers/i2c/scx200_i2c.c
Kernel Version: 2.5.67
Status: NEW
Severity: low
Owner: greg@kroah.com
Submitter: john@larvalstage.com

Distribution: Gentoo 1.4rc2
Hardware Environment: Abit KG7-RAID, AMD AthlonXP 2100+, 512MB DDR
Software Environment: gcc 3.2.2, glibc 2.3.1, ld 2.13.90.0.18
Problem Description:

gcc -Wp,-MD,drivers/i2c/.scx200_i2c.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=athlon -Iinclude/asm-i386/mach-default
-nostdinc -iwithprefix include -DKBUILD_BASENAME=scx200_i2c
-DKBUILD_MODNAME=scx200_i2c -c -o drivers/i2c/.tmp_scx200_i2c.o
drivers/i2c/scx200_i2c.c
drivers/i2c/scx200_i2c.c:85: unknown field `name' specified in initializer
drivers/i2c/scx200_i2c.c:85: warning: initialization makes integer from pointer
without a cast
drivers/i2c/scx200_i2c.c: In function `scx200_i2c_init':
drivers/i2c/scx200_i2c.c:113: structure has no member named `name'
make[2]: *** [drivers/i2c/scx200_i2c.o] Error 1
make[1]: *** [drivers/i2c] Error 2
make: *** [drivers] Error 2

Steps to reproduce:

Character devices --->
I2C support --->
<*> NatSemi SCx200 I2C using GPIO pins

CONFIG_SCx200_I2C=y

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