diff options
author | Haojian Zhuang <haojian.zhuang@gmail.com> | 2012-04-19 06:22:16 -0400 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@gmail.com> | 2012-05-05 04:33:03 -0400 |
commit | 53c50ef508cc7b47c8b912549d4e2593fd0e5049 (patch) | |
tree | f37f1c1e77916b8baa637315dba5a20c85f5a144 /arch/arm/mach-mmp/mmp-dt.c | |
parent | 69964ea4c7b68c9399f7977aa5b9aa6539a6a98a (diff) |
ARM: mmp: fix build issue on mmp with device tree
Since irq_domain_add_simple() is removed, remove it in mmp-dt.c also.
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-mmp/mmp-dt.c')
-rw-r--r-- | arch/arm/mach-mmp/mmp-dt.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/arm/mach-mmp/mmp-dt.c b/arch/arm/mach-mmp/mmp-dt.c index 67075395e400..ca22e3c04e90 100644 --- a/arch/arm/mach-mmp/mmp-dt.c +++ b/arch/arm/mach-mmp/mmp-dt.c | |||
@@ -32,31 +32,9 @@ static const struct of_dev_auxdata mmp_auxdata_lookup[] __initconst = { | |||
32 | {} | 32 | {} |
33 | }; | 33 | }; |
34 | 34 | ||
35 | static int __init mmp_intc_add_irq_domain(struct device_node *np, | ||
36 | struct device_node *parent) | ||
37 | { | ||
38 | irq_domain_add_simple(np, 0); | ||
39 | return 0; | ||
40 | } | ||
41 | |||
42 | static int __init mmp_gpio_add_irq_domain(struct device_node *np, | ||
43 | struct device_node *parent) | ||
44 | { | ||
45 | irq_domain_add_simple(np, IRQ_GPIO_START); | ||
46 | return 0; | ||
47 | } | ||
48 | |||
49 | static const struct of_device_id mmp_irq_match[] __initconst = { | ||
50 | { .compatible = "mrvl,mmp-intc", .data = mmp_intc_add_irq_domain, }, | ||
51 | { .compatible = "mrvl,mmp-gpio", .data = mmp_gpio_add_irq_domain, }, | ||
52 | {} | ||
53 | }; | ||
54 | |||
55 | static void __init mmp_dt_init(void) | 35 | static void __init mmp_dt_init(void) |
56 | { | 36 | { |
57 | 37 | ||
58 | of_irq_init(mmp_irq_match); | ||
59 | |||
60 | of_platform_populate(NULL, of_default_bus_match_table, | 38 | of_platform_populate(NULL, of_default_bus_match_table, |
61 | mmp_auxdata_lookup, NULL); | 39 | mmp_auxdata_lookup, NULL); |
62 | } | 40 | } |