From: w.sang@pengutronix.de (Wolfram Sang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/4] arm: lpc32xx: fix size of watchdog resource
Date: Mon, 28 Mar 2011 18:01:29 +0200 [thread overview]
Message-ID: <1301328090-25994-3-git-send-email-w.sang@pengutronix.de> (raw)
In-Reply-To: <1301328090-25994-1-git-send-email-w.sang@pengutronix.de>
And remove an unneeded index in the array-initialization.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
---
arch/arm/mach-lpc32xx/common.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-lpc32xx/common.c b/arch/arm/mach-lpc32xx/common.c
index 83daba6..9edcd19 100644
--- a/arch/arm/mach-lpc32xx/common.c
+++ b/arch/arm/mach-lpc32xx/common.c
@@ -36,9 +36,9 @@
* Watchdog timer
*/
static struct resource watchdog_resources[] = {
- [0] = {
+ {
.start = LPC32XX_WDTIM_BASE,
- .end = LPC32XX_WDTIM_BASE + SZ_4K - 1,
+ .end = LPC32XX_WDTIM_BASE + SZ_16K - 1,
.flags = IORESOURCE_MEM,
},
};
--
1.7.2.5
next prev parent reply other threads:[~2011-03-28 16:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-28 16:01 [PATCH 1/4] arm: lpc32xx: add tsc-device Wolfram Sang
2011-03-28 16:01 ` [PATCH 2/4] arm: lpc32xx: add rtc-device Wolfram Sang
2011-03-28 16:01 ` Wolfram Sang [this message]
2011-03-28 16:01 ` [PATCH 4/4] arm: lpc32xx: clock: use bool logic instead of binary Wolfram Sang
2011-03-29 16:43 ` [PATCH 1/4] arm: lpc32xx: add tsc-device Kevin Wells
2011-03-29 17:02 ` Wolfram Sang
2011-03-29 17:56 ` Kevin Wells
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=1301328090-25994-3-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).