From: w.sang@pengutronix.de (Wolfram Sang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm: at91: fix build-error for board-dt
Date: Sat, 21 Apr 2012 12:28:25 +0200 [thread overview]
Message-ID: <1335004105-3162-1-git-send-email-w.sang@pengutronix.de> (raw)
From: Wolfram Sang <wolfram@the-dreams.de>
When build-testing i2c-patches, I encountered:
arch/arm/mach-at91/built-in.o:(.arch.info.init+0x34): undefined reference to `at91sam926x_timer'
(using allnoconfig and roughly only MACH_AT91SAM_DT enabled)
Since this boardfile doesn't belong to a specific architecture, directly
add the only supported timer to compilation.
Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
---
arch/arm/mach-at91/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile
index 8512e53..d7c17fc 100644
--- a/arch/arm/mach-at91/Makefile
+++ b/arch/arm/mach-at91/Makefile
@@ -79,7 +79,7 @@ obj-$(CONFIG_MACH_SNAPPER_9260) += board-snapper9260.o
obj-$(CONFIG_MACH_AT91SAM9M10G45EK) += board-sam9m10g45ek.o
# AT91SAM board with device-tree
-obj-$(CONFIG_MACH_AT91SAM_DT) += board-dt.o
+obj-$(CONFIG_MACH_AT91SAM_DT) += board-dt.o at91sam926x_time.o
# AT91X40 board-specific support
obj-$(CONFIG_MACH_AT91EB01) += board-eb01.o
--
1.7.10
next reply other threads:[~2012-04-21 10:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-21 10:28 Wolfram Sang [this message]
2012-04-21 11:40 ` [PATCH] arm: at91: fix build-error for board-dt Jean-Christophe PLAGNIOL-VILLARD
2012-04-21 14:09 ` Wolfram Sang
2012-04-21 14:43 ` Jean-Christophe PLAGNIOL-VILLARD
2012-04-21 18:39 ` Arnd Bergmann
2012-04-22 1:50 ` Jean-Christophe PLAGNIOL-VILLARD
2012-04-22 13:39 ` Arnd Bergmann
2012-04-22 14:34 ` Wolfram Sang
2012-04-22 15:10 ` Jean-Christophe PLAGNIOL-VILLARD
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=1335004105-3162-1-git-send-email-w.sang@pengutronix.de \
--to=w.sang@pengutronix.de \
--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;
as well as URLs for NNTP newsgroup(s).