aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/include/asm/mach_desc.h
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2015-10-13 08:48:54 +0530
committerVineet Gupta <vgupta@synopsys.com>2015-10-28 16:13:39 +0530
commit4c82f28617ab9ce938118f0b99156a96c64d3da0 (patch)
tree24e89dc64d146a10c4bf2ac477169d2801e3c4b5 /arch/arc/include/asm/mach_desc.h
parentARC: smp: irqchip: handle IPI as percpu irq like timer (diff)
downloadlinux-dev-4c82f28617ab9ce938118f0b99156a96c64d3da0.tar.xz
linux-dev-4c82f28617ab9ce938118f0b99156a96c64d3da0.zip
ARC: remove @init_time, @init_irq platform callbacks
These are not in use for ARC platforms. Moreover DT mechanims exist to probe them w/o explicit platform calls. - clocksource drivers can use CLOCKSOURCE_OF_DECLARE() - intc IRQCHIP_DECLARE() calls + cascading inside DT allows external intc to be probed automatically Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/include/asm/mach_desc.h')
-rw-r--r--arch/arc/include/asm/mach_desc.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arc/include/asm/mach_desc.h b/arch/arc/include/asm/mach_desc.h
index e8993a2be6c2..7c680910f104 100644
--- a/arch/arc/include/asm/mach_desc.h
+++ b/arch/arc/include/asm/mach_desc.h
@@ -23,11 +23,8 @@
* @dt_compat: Array of device tree 'compatible' strings
* (XXX: although only 1st entry is looked at)
* @init_early: Very early callback [called from setup_arch()]
- * @init_irq: setup external IRQ controllers [called from init_IRQ()]
* @init_smp: for each CPU (e.g. setup IPI)
* [(M):init_IRQ(), (o):start_kernel_secondary()]
- * @init_time: platform specific clocksource/clockevent registration
- * [called from time_init()]
* @init_machine: arch initcall level callback (e.g. populate static
* platform devices or parse Devicetree)
* @init_late: Late initcall level callback
@@ -36,13 +33,10 @@
struct machine_desc {
const char *name;
const char **dt_compat;
-
void (*init_early)(void);
- void (*init_irq)(void);
#ifdef CONFIG_SMP
void (*init_smp)(unsigned int);
#endif
- void (*init_time)(void);
void (*init_machine)(void);
void (*init_late)(void);