Commit c8cd74a1 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Simon Horman
Browse files

ARM: shmobile: Remove legacy mach/irqs.h



The header isn't needed anymore now that all SoCs use multiplatform
kernels. Remove it.

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 9b5ba0df
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
#ifndef __ASM_MACH_IRQS_H
#define __ASM_MACH_IRQS_H

/* Stuck here until drivers/pinctl/sh-pfc gets rid of legacy code */

/* External IRQ pins */
#define IRQPIN_BASE		2000
#define irq_pin(nr)		((nr) + IRQPIN_BASE)

#endif /* __ASM_MACH_IRQS_H */

arch/arm/mach-shmobile/irqs.h

deleted100644 → 0
+0 −15
Original line number Diff line number Diff line
#ifndef __SHMOBILE_IRQS_H
#define __SHMOBILE_IRQS_H

#include "include/mach/irqs.h"

/* GIC */
#define gic_spi(nr)		((nr) + 32)
#define gic_iid(nr)		(nr) /* ICCIAR / interrupt ID */

/* GPIO IRQ */
#define _GPIO_IRQ_BASE		2500
#define GPIO_IRQ_BASE(x)	(_GPIO_IRQ_BASE + (32 * x))
#define GPIO_IRQ(x, y)		(_GPIO_IRQ_BASE + (32 * x) + y)

#endif /* __SHMOBILE_IRQS_H */
+0 −1
Original line number Diff line number Diff line
@@ -22,7 +22,6 @@
#include <asm/mach/arch.h>

#include "common.h"
#include "irqs.h"

#define MODEMR 0xffcc0020