From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: Davinci: Fix I2C build errors
Date: Fri, 15 Apr 2011 13:39:24 +0100 [thread overview]
Message-ID: <20110415123924.GL1611@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <20110415123240.GK1611@n2100.arm.linux.org.uk>
On Fri, Apr 15, 2011 at 01:32:40PM +0100, Russell King - ARM Linux wrote:
> Several Davinci platforms select the I2C EEPROM support, but don't
> select I2C support. This causes I2C EEPROM support to be built into
> the kernel, but I2C support may not be configured to be built in.
> This leads to linker errors due to missing I2C symbols.
>
> Arrange for I2C to be selected whenever EEPROM_AT24 is selected.
Although this fixes I2C build errors, it leaves these errors:
arch/arm/mach-davinci/built-in.o: In function `phy_read':
include/linux/phy.h:454: undefined reference to `mdiobus_read'
arch/arm/mach-davinci/built-in.o: In function `phy_write':
include/linux/phy.h:469: undefined reference to `mdiobus_write'
arch/arm/mach-davinci/built-in.o: In function `davinci_evm_init':
arch/arm/mach-davinci/board-dm644x-evm.c:708: undefined reference to `phy_register_fixup_for_uid'
which also look like a configuration problem.
next prev parent reply other threads:[~2011-04-15 12:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-15 12:32 [PATCH] ARM: Davinci: Fix I2C build errors Russell King - ARM Linux
2011-04-15 12:39 ` Russell King - ARM Linux [this message]
2011-04-15 14:39 ` Nori, Sekhar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110415123924.GL1611@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox