From: robert.jarzmik@free.fr (Robert Jarzmik)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 3/4] arm: pxa: remove unnecessary includes from pxa-dt
Date: Mon, 3 Nov 2014 18:42:01 +0100 [thread overview]
Message-ID: <1415036522-7800-4-git-send-email-robert.jarzmik@free.fr> (raw)
In-Reply-To: <1415036522-7800-1-git-send-email-robert.jarzmik@free.fr>
As the init functions necessary for machine init have moved to
generic.h, remove the unnecessary includes and prototypes definitions
from pxa-dt.c.
This removes the include of mach/pxaXXX-regs.h, and make pxa-dt generic
enough to accept other pxa variants.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Arnd Bergmann <arnd@arndb.de>
---
Since v2: typo, unnecessary is better than unecessary
---
arch/arm/mach-pxa/pxa-dt.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/arm/mach-pxa/pxa-dt.c b/arch/arm/mach-pxa/pxa-dt.c
index f6a2c4b..b070196 100644
--- a/arch/arm/mach-pxa/pxa-dt.c
+++ b/arch/arm/mach-pxa/pxa-dt.c
@@ -15,13 +15,10 @@
#include <asm/mach/arch.h>
#include <asm/mach/time.h>
#include <mach/irqs.h>
-#include <mach/pxa3xx.h>
#include "generic.h"
#ifdef CONFIG_PXA3xx
-extern void __init pxa3xx_dt_init_irq(void);
-
static const struct of_dev_auxdata pxa3xx_auxdata_lookup[] __initconst = {
OF_DEV_AUXDATA("mrvl,pxa-uart", 0x40100000, "pxa2xx-uart.0", NULL),
OF_DEV_AUXDATA("mrvl,pxa-uart", 0x40200000, "pxa2xx-uart.1", NULL),
--
2.1.0
next prev parent reply other threads:[~2014-11-03 17:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-03 17:41 [PATCH v3 0/4] Add support for pxa27x device-tree machine Robert Jarzmik
2014-11-03 17:41 ` [PATCH v3 1/4] arm: pxa: add device-tree irq init for pxa27x Robert Jarzmik
2014-11-03 17:42 ` [PATCH v3 2/4] arm: pxa: move init functions into generic.h Robert Jarzmik
2014-11-03 17:42 ` Robert Jarzmik [this message]
2014-11-03 17:42 ` [PATCH v3 4/4] arm: pxa: add pxa27x device-tree support Robert Jarzmik
2014-11-04 9:42 ` [PATCH v3 0/4] Add support for pxa27x device-tree machine Arnd Bergmann
2014-11-08 10:09 ` Robert Jarzmik
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=1415036522-7800-4-git-send-email-robert.jarzmik@free.fr \
--to=robert.jarzmik@free.fr \
--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