]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
ARM: mxs: call stmp_reset_block() in icoll
authorShawn Guo <shawn.guo@linaro.org>
Mon, 25 Mar 2013 13:20:05 +0000 (21:20 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 1 Apr 2013 08:30:03 +0000 (16:30 +0800)
Call stmp_reset_block() rather than mxs_reset_block(), so that
<mach/common.h> inclusion can be removed from icoll driver.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-mxs/icoll.c

index 1cf32af1e3f6207126468f687b8981b9f19f306a..b4d620765cf16ad918cfbf65aaaa1690c2d3817a 100644 (file)
@@ -24,8 +24,8 @@
 #include <linux/of.h>
 #include <linux/of_address.h>
 #include <linux/of_irq.h>
+#include <linux/stmp_device.h>
 #include <asm/exception.h>
-#include <mach/common.h>
 
 #define HW_ICOLL_VECTOR                                0x0000
 #define HW_ICOLL_LEVELACK                      0x0010
@@ -110,7 +110,7 @@ static void __init icoll_of_init(struct device_node *np,
         * Interrupt Collector reset, which initializes the priority
         * for each irq to level 0.
         */
-       mxs_reset_block(icoll_base + HW_ICOLL_CTRL);
+       stmp_reset_block(icoll_base + HW_ICOLL_CTRL);
 
        icoll_domain = irq_domain_add_linear(np, ICOLL_NUM_IRQS,
                                             &icoll_irq_domain_ops, NULL);