]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
arm: pxa: remove unnecessary includes from pxa-dt
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sun, 28 Sep 2014 12:10:54 +0000 (14:10 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Wed, 19 Nov 2014 22:53:14 +0000 (23:53 +0100)
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>
arch/arm/mach-pxa/pxa-dt.c

index f6a2c4b1c1dc5ae8580e81f583c304501595027c..b070196f5a43cf5f28f861c0e13c6f871c835edc 100644 (file)
 #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),