From: Michael Williamson <michael.williamson@criticallink.com>
To: spi-devel-general@lists.sourceforge.net,
linux-arm-kernel@lists.infradead.org,
davinci-linux-open-source@linux.davincidsp.com
Cc: khilman@deeprootsystems.com, grant.likely@secretlab.ca,
Michael Williamson <michael.williamson@criticallink.com>
Subject: [PATCH 2/3] davinci: dm355: move spi0 eventq assignment from resources to platform data
Date: Thu, 3 Feb 2011 19:34:49 -0500 [thread overview]
Message-ID: <1296779690-9723-3-git-send-email-michael.williamson@criticallink.com> (raw)
In-Reply-To: <1296779690-9723-1-git-send-email-michael.williamson@criticallink.com>
Move the eventq assignment for spi0 out of resources and into platform data.
Signed-off-by: Michael Williamson <michael.williamson@criticallink.com>
---
arch/arm/mach-davinci/dm355.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-davinci/dm355.c b/arch/arm/mach-davinci/dm355.c
index a5f8a80..76364d1 100644
--- a/arch/arm/mach-davinci/dm355.c
+++ b/arch/arm/mach-davinci/dm355.c
@@ -403,16 +403,13 @@ static struct resource dm355_spi0_resources[] = {
.start = 16,
.flags = IORESOURCE_DMA,
},
- {
- .start = EVENTQ_1,
- .flags = IORESOURCE_DMA,
- },
};
static struct davinci_spi_platform_data dm355_spi0_pdata = {
.version = SPI_VERSION_1,
.num_chipselect = 2,
.cshold_bug = true,
+ .dma_event_q = EVENTQ_1,
};
static struct platform_device dm355_spi0_device = {
.name = "spi_davinci",
--
1.7.0.4
next prev parent reply other threads:[~2011-02-04 0:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-04 0:34 [PATCH 0/3] spi: davinci: move eventq parameter to platform data Michael Williamson
2011-02-04 0:34 ` [PATCH 1/3] davinci: spi: move event_q " Michael Williamson
[not found] ` <1296779690-9723-2-git-send-email-michael.williamson-wZX4cNJlHJ2sVWG7oymsAA@public.gmane.org>
2011-02-04 12:03 ` Sergei Shtylyov
[not found] ` <4D4BEB1F.6060200-Igf4POYTYCDQT0dZR+AlfA@public.gmane.org>
2011-02-04 12:27 ` Michael Williamson
2011-02-04 0:34 ` Michael Williamson [this message]
2011-02-04 0:34 ` [PATCH 3/3] davinci: dm365: move spi0 eventq assignment from resources " Michael Williamson
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=1296779690-9723-3-git-send-email-michael.williamson@criticallink.com \
--to=michael.williamson@criticallink.com \
--cc=davinci-linux-open-source@linux.davincidsp.com \
--cc=grant.likely@secretlab.ca \
--cc=khilman@deeprootsystems.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=spi-devel-general@lists.sourceforge.net \
/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).