ep93xx: include correct irq.h in core.c
PATCH 1/1 ep93xx: include correct irq.h in core.c
ep93xx: include correct irq.h in core.c
Currently <asm/mach/irq.h> is included by core.c. This header includes <linux/irq.h> and defines a number of internal functions. These internal functions are not needed by this file. Change the include so that we just get what is needed.
Signed-off-by H Hartley Sweeten <[email protected]>
Cc Ryan Mallon <[email protected]>
---
arch/arm/mach-ep93xx/core.c +1 -1
@@ -20,6 +20,7 @@#include <linux/interrupt.h> #include <linux/dma-mapping.h> #include <linux/timex.h> +#include <linux/irq.h> #include <linux/io.h> #include <linux/gpio.h> #include <linux/leds.h>
@@ -35,7 +36,6 @@#include <asm/mach/map.h> #include <asm/mach/time.h> -#include <asm/mach/irq.h> #include <asm/hardware/vic.h>
PATCH 1/1 ep93xx: include correct irq.h in core.c
Quoted 9 lines · H Hartley Sweeten
ep93xx: include correct
irq.hincore.cCurrently <
asm/mach/irq.h> is included bycore.c. This header includes <linux/irq.h> and defines a number of internal functions. These internal functions are not needed by this file. Change the include so that we just get what is needed.Signed-off-by H Hartley Sweeten <[email protected]>Cc Ryan Mallon <[email protected]>
Acked-by Ryan Mallon <[email protected]>
~Ryan
Signature · 7 lines
Bluewater Systems Ltd - ARM Technology Solution Centre Ryan Mallon 5 Amuri Park, 404 Barbadoes St ryan at bluewatersys.com PO Box 13 889, Christchurch 8013 http://www.bluewatersys.com New Zealand Phone: +64 3 3779127 Freecall: Australia 1800 148 751 Fax: +64 3 3779135 USA 1800 261 2934