Openmoko Bug #2163: andy-tracking: pcf50633.c:174: multiple definition of `pcf50633_reg_clear_bits'
Openmoko Public Trac
bugs at docs.openmoko.org
Sun Dec 7 00:11:39 CET 2008
#2163: andy-tracking: pcf50633.c:174: multiple definition of
`pcf50633_reg_clear_bits'
-----------------------------+----------------------------------------------
Reporter: lindi | Owner: openmoko-kernel
Type: defect | Status: new
Priority: normal | Milestone:
Component: System Software | Version: unspecified
Severity: normal | Keywords:
Haspatch: 0 | Blockedby:
Estimated: | Patchreview:
Blocking: | Reproducible:
-----------------------------+----------------------------------------------
andy-tracking 9b2a35dd616a9fbed3e6cd4c1781f5230d118402 fails to build here
with
{{{
arm-linux-gnueabi-ld -EL -r -o drivers/built-in.o drivers/gpio/built-
in.o drivers/video/built-in.o drivers/char/built-in.o drivers/gpu/built-
in.o drivers/serial/built-in.o drivers/base/built-in.o drivers/block
/built-in.o drivers/misc/built-in.o drivers/mfd/built-in.o drivers/net
/built-in.o drivers/media/built-in.o drivers/macintosh/built-in.o
drivers/scsi/built-in.o drivers/ieee1394/built-in.o drivers/uio/built-in.o
drivers/cdrom/built-in.o drivers/auxdisplay/built-in.o drivers/mtd/built-
in.o drivers/spi/built-in.o drivers/usb/built-in.o drivers/usb/gadget
/built-in.o drivers/input/serio/built-in.o drivers/input/built-in.o
drivers/rtc/built-in.o drivers/i2c/built-in.o drivers/power/built-in.o
drivers/hwmon/built-in.o drivers/watchdog/built-in.o drivers/md/built-in.o
drivers/bluetooth/built-in.o drivers/lguest/built-in.o drivers/cpuidle
/built-in.o drivers/idle/built-in.o drivers/mmc/built-in.o drivers/ar6000
/built-in.o drivers/leds/built-in.o drivers/firmware/built-in.o
drivers/crypto/built-in.o drivers/hid/built-in.o drivers/android/built-
in.o drivers/regulator/built-in.o ; scripts/mod/modpost drivers/built-in.o
(cat /dev/null; cat drivers/gpio/modules.order; cat
drivers/video/modules.order; cat drivers/char/modules.order; cat
drivers/gpu/modules.order; cat drivers/serial/modules.order; cat
drivers/base/modules.order; cat drivers/block/modules.order; cat
drivers/misc/modules.order; cat drivers/mfd/modules.order; cat
drivers/net/modules.order; cat drivers/media/modules.order; cat
drivers/macintosh/modules.order; cat drivers/scsi/modules.order; cat
drivers/ieee1394/modules.order; cat drivers/uio/modules.order; cat
drivers/cdrom/modules.order; cat drivers/auxdisplay/modules.order; cat
drivers/mtd/modules.order; cat drivers/spi/modules.order; cat
drivers/usb/modules.order; cat drivers/usb/gadget/modules.order; cat
drivers/input/serio/modules.order; cat drivers/input/modules.order;
cat drivers/rtc/modules.order; cat drivers/i2c/modules.order; cat
drivers/power/modules.order; cat drivers/hwmon/modules.order; cat
drivers/watchdog/modules.order; cat drivers/md/modules.order; cat
drivers/bluetooth/modules.order; cat drivers/lguest/modules.order; cat
drivers/cpuidle/modules.order; cat drivers/idle/modules.order; cat
drivers/mmc/modules.order; cat drivers/ar6000/modules.order; cat
drivers/leds/modules.order; cat drivers/firmware/modules.order; cat
drivers/crypto/modules.order; cat drivers/hid/modules.order; cat
drivers/android/modules.order; cat drivers/regulator/modules.order;
cat drivers/connector/modules.order;) > drivers/modules.order
drivers/i2c/built-in.o: In function `pcf50633_reg_clear_bits':
/home/lindi/l/neolinux/drivers/i2c/chips/pcf50633.c:174: multiple
definition of `pcf50633_reg_clear_bits'
drivers/mfd/built-
in.o:/home/lindi/l/neolinux/drivers/mfd/pcf50633-core.c:112: first defined
here
drivers/i2c/built-in.o: In function `pcf50633_adc_async_read':
/home/lindi/l/neolinux/drivers/i2c/chips/pcf50633.c:382: multiple
definition of `pcf50633_adc_async_read'
drivers/mfd/built-
in.o:/home/lindi/l/neolinux/drivers/mfd/pcf50633-adc.c:141: first defined
here
drivers/i2c/built-in.o: In function `pcf50633_adc_sync_read':
/home/lindi/l/neolinux/drivers/i2c/chips/pcf50633.c:355: multiple
definition of `pcf50633_adc_sync_read'
drivers/mfd/built-
in.o:/home/lindi/l/neolinux/drivers/mfd/pcf50633-adc.c:113: first defined
here
drivers/i2c/built-in.o: In function `pcf50633_reg_read':
/home/lindi/l/neolinux/drivers/i2c/chips/pcf50633.c:141: multiple
definition of `pcf50633_reg_read'
drivers/mfd/built-
in.o:/home/lindi/l/neolinux/drivers/mfd/pcf50633-core.c:69: first defined
here
drivers/i2c/built-in.o: In function `pcf50633_reg_set_bit_mask':
/home/lindi/l/neolinux/drivers/i2c/chips/pcf50633.c:154: multiple
definition of `pcf50633_reg_set_bit_mask'
drivers/mfd/built-
in.o:/home/lindi/l/neolinux/drivers/mfd/pcf50633-core.c:92: first defined
here
drivers/i2c/built-in.o: In function `pcf50633_reg_write':
/home/lindi/l/neolinux/drivers/i2c/chips/pcf50633.c:116: multiple
definition of `pcf50633_reg_write'
drivers/mfd/built-
in.o:/home/lindi/l/neolinux/drivers/mfd/pcf50633-core.c:81: first defined
here
drivers/i2c/built-in.o: In function `pcf50633_gpio_get':
/home/lindi/l/neolinux/drivers/i2c/chips/pcf50633.c:238: multiple
definition of `pcf50633_gpio_get'
drivers/mfd/built-
in.o:/home/lindi/l/neolinux/drivers/mfd/pcf50633-gpio.c:41: first defined
here
drivers/i2c/built-in.o: In function `pcf50633_gpio_set':
/home/lindi/l/neolinux/drivers/i2c/chips/pcf50633.c:227: multiple
definition of `pcf50633_gpio_set'
drivers/mfd/built-
in.o:/home/lindi/l/neolinux/drivers/mfd/pcf50633-gpio.c:31: first defined
here
}}}
Any idea if I am doing something wrong here or is the build is really
broken?
--
Ticket URL: <https://docs.openmoko.org/trac/ticket/2163>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
More information about the openmoko-kernel
mailing list