All of lore.kernel.org
 help / color / mirror / Atom feed
From: axel.lin@gmail.com (Axel Lin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: mach-davinci: Select PHYLIB for ARCH_DAVINCI_DM644x
Date: Sun, 21 Aug 2011 13:09:08 +0800	[thread overview]
Message-ID: <1313903348.25059.3.camel@phoenix> (raw)

We call phy_register_fixup_for_uid in davinci_evm_init, thus we need 
select PHYLIB to fix below build error: (with "make davinci_all_defconfig")

  LD      .tmp_vmlinux1
arch/arm/mach-davinci/built-in.o: In function `davinci_phy_fixup':
pm.c:(.text+0x35b8): undefined reference to `mdiobus_read'
pm.c:(.text+0x35d4): undefined reference to `mdiobus_write'
arch/arm/mach-davinci/built-in.o: In function `davinci_evm_init':
pm.c:(.init.text+0x237c): undefined reference to `phy_register_fixup_for_uid'
make: *** [.tmp_vmlinux1] Error 1

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 arch/arm/mach-davinci/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig
index c0deaca..029ec46b 100644
--- a/arch/arm/mach-davinci/Kconfig
+++ b/arch/arm/mach-davinci/Kconfig
@@ -18,6 +18,7 @@ config ARCH_DAVINCI_DM644x
 	bool "DaVinci 644x based system"
 	select AINTC
 	select ARCH_DAVINCI_DMx
+	select PHYLIB
 
 config ARCH_DAVINCI_DM355
 	bool "DaVinci 355 based system"
-- 
1.7.4.1

WARNING: multiple messages have this Message-ID (diff)
From: Axel Lin <axel.lin@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: Sekhar Nori <nsekhar@ti.com>, Kevin Hilman <khilman@ti.com>,
	Russell King <linux@arm.linux.org.uk>,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: mach-davinci: Select PHYLIB for ARCH_DAVINCI_DM644x
Date: Sun, 21 Aug 2011 13:09:08 +0800	[thread overview]
Message-ID: <1313903348.25059.3.camel@phoenix> (raw)

We call phy_register_fixup_for_uid in davinci_evm_init, thus we need 
select PHYLIB to fix below build error: (with "make davinci_all_defconfig")

  LD      .tmp_vmlinux1
arch/arm/mach-davinci/built-in.o: In function `davinci_phy_fixup':
pm.c:(.text+0x35b8): undefined reference to `mdiobus_read'
pm.c:(.text+0x35d4): undefined reference to `mdiobus_write'
arch/arm/mach-davinci/built-in.o: In function `davinci_evm_init':
pm.c:(.init.text+0x237c): undefined reference to `phy_register_fixup_for_uid'
make: *** [.tmp_vmlinux1] Error 1

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 arch/arm/mach-davinci/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig
index c0deaca..029ec46b 100644
--- a/arch/arm/mach-davinci/Kconfig
+++ b/arch/arm/mach-davinci/Kconfig
@@ -18,6 +18,7 @@ config ARCH_DAVINCI_DM644x
 	bool "DaVinci 644x based system"
 	select AINTC
 	select ARCH_DAVINCI_DMx
+	select PHYLIB
 
 config ARCH_DAVINCI_DM355
 	bool "DaVinci 355 based system"
-- 
1.7.4.1




             reply	other threads:[~2011-08-21  5:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-21  5:09 Axel Lin [this message]
2011-08-21  5:09 ` [PATCH] ARM: mach-davinci: Select PHYLIB for ARCH_DAVINCI_DM644x Axel Lin
2011-09-01 16:24 ` Nori, Sekhar
2011-09-01 16:24   ` Nori, Sekhar
2011-09-01 23:40   ` Axel Lin
2011-09-01 23:40     ` Axel Lin

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=1313903348.25059.3.camel@phoenix \
    --to=axel.lin@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.