From: Tony Lindgren <tony@atomide.com>
To: linux-arm-kernel@lists.infradead.org
Cc: linux-omap@vger.kernel.org, Ladislav Michl <ladis@linux-mips.org>
Subject: Re: [PATCH 1/9] omap: use smc91x_platdata to setup smc91x
Date: Tue, 8 Dec 2009 18:13:29 -0800 [thread overview]
Message-ID: <20091209021329.GK24013@atomide.com> (raw)
In-Reply-To: <20091209004958.5944.81769.stgit@localhost>
[-- Attachment #1: Type: text/plain, Size: 1121 bytes --]
* Tony Lindgren <tony@atomide.com> [091208 16:48]:
> From: Ladislav Michl <ladis@linux-mips.org>
>
> Use smc91x_platdata to setup smc91x, so we can get rid of OMAP specific stuff
> in smc91x driver
>
> Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
> Signed-off-by: Tony Lindgren <tony@atomide.com>
> ---
> arch/arm/mach-omap1/board-fsample.c | 10 ++++++++++
> arch/arm/mach-omap1/board-h2.c | 10 ++++++++++
> arch/arm/mach-omap1/board-h3.c | 10 ++++++++++
> arch/arm/mach-omap1/board-innovator.c | 13 +++++++++++++
> arch/arm/mach-omap1/board-osk.c | 10 ++++++++++
> arch/arm/mach-omap1/board-perseus2.c | 10 ++++++++++
> arch/arm/mach-omap1/board-voiceblue.c | 10 ++++++++++
> arch/arm/mach-omap2/board-apollon.c | 10 ++++++++++
> arch/arm/mach-omap2/gpmc-smc91x.c | 8 +++++---
> arch/arm/plat-omap/debug-devices.c | 10 ++++++++++
> 10 files changed, 98 insertions(+), 3 deletions(-)
Looks like this needs a minor change to build for innovator 1610.
Will merge in the following fix as otherwise the smc91x_platdata
is not defined for 1610.
Tony
[-- Attachment #2: smc91x-innovator1610.patch --]
[-- Type: text/x-diff, Size: 1192 bytes --]
>From e23309bc7d76cc06d7df2659120410398f50b039 Mon Sep 17 00:00:00 2001
From: Tony Lindgren <tony@atomide.com>
Date: Tue, 8 Dec 2009 18:11:12 -0800
Subject: [PATCH] Fix compile on Innovator 1610 for smc91x
Fix compile on Innovator 1610 for smc91x
Signed-off-by: Tony Lindgren <tony@atomide.com>
diff --git a/arch/arm/mach-omap1/board-innovator.c b/arch/arm/mach-omap1/board-innovator.c
index 91b3b8e..2133b00 100644
--- a/arch/arm/mach-omap1/board-innovator.c
+++ b/arch/arm/mach-omap1/board-innovator.c
@@ -143,6 +143,11 @@ static struct platform_device innovator_kp_device = {
.resource = innovator_kp_resources,
};
+static struct smc91x_platdata innovator_smc91x_info = {
+ .flags = SMC91X_USE_16BIT | SMC91X_NOWAIT,
+ .leda = RPC_LED_100_10,
+ .ledb = RPC_LED_TX_RX,
+};
#ifdef CONFIG_ARCH_OMAP15XX
@@ -160,12 +165,6 @@ static struct map_desc innovator1510_io_desc[] __initdata = {
}
};
-static struct smc91x_platdata innovator_smc91x_info = {
- .flags = SMC91X_USE_16BIT | SMC91X_NOWAIT,
- .leda = RPC_LED_100_10,
- .ledb = RPC_LED_TX_RX,
-};
-
static struct resource innovator1510_smc91x_resources[] = {
[0] = {
.start = OMAP1510_FPGA_ETHR_START, /* Physical */
next prev parent reply other threads:[~2009-12-09 2:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-09 0:49 [PATCH 0/9] Few more omap patches for v2.6.33 merge window Tony Lindgren
2009-12-09 0:49 ` [PATCH 1/9] omap: use smc91x_platdata to setup smc91x Tony Lindgren
2009-12-09 2:13 ` Tony Lindgren [this message]
2009-12-09 0:50 ` [PATCH 2/9] smc91x: remove OMAP specific bits Tony Lindgren
2009-12-09 0:50 ` [PATCH 3/9] omap1: Use gen_nand Tony Lindgren
2009-12-09 0:50 ` [PATCH 4/9] omap1: DMA: move LCD related code from plat-omap to mach-omap1 Tony Lindgren
2009-12-09 0:50 ` [PATCH 5/9] omap1: Add omap7xx USB support Tony Lindgren
2009-12-09 0:51 ` [PATCH 6/9] omap1: I2C mux and clocks for omap7xx Tony Lindgren
2009-12-09 0:51 ` [PATCH 7/9] omap3: Board file of Always Innovating OMAP3-based Touch Book Tony Lindgren
2009-12-09 0:51 ` [PATCH 8/9] omap3: Defconfig " Tony Lindgren
2009-12-09 0:51 ` [PATCH 9/9] omap3: pandora: board file updates for .33 Tony Lindgren
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=20091209021329.GK24013@atomide.com \
--to=tony@atomide.com \
--cc=ladis@linux-mips.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.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