Commit cec6bae8 authored by Shawn Guo's avatar Shawn Guo

ARM: mxs: call stmp_reset_block() in icoll

Call stmp_reset_block() rather than mxs_reset_block(), so that
<mach/common.h> inclusion can be removed from icoll driver.
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent 8256aa71
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
#include <linux/of.h> #include <linux/of.h>
#include <linux/of_address.h> #include <linux/of_address.h>
#include <linux/of_irq.h> #include <linux/of_irq.h>
#include <linux/stmp_device.h>
#include <asm/exception.h> #include <asm/exception.h>
#include <mach/common.h>
#define HW_ICOLL_VECTOR 0x0000 #define HW_ICOLL_VECTOR 0x0000
#define HW_ICOLL_LEVELACK 0x0010 #define HW_ICOLL_LEVELACK 0x0010
...@@ -110,7 +110,7 @@ static void __init icoll_of_init(struct device_node *np, ...@@ -110,7 +110,7 @@ static void __init icoll_of_init(struct device_node *np,
* Interrupt Collector reset, which initializes the priority * Interrupt Collector reset, which initializes the priority
* for each irq to level 0. * 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_domain = irq_domain_add_linear(np, ICOLL_NUM_IRQS,
&icoll_irq_domain_ops, NULL); &icoll_irq_domain_ops, NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment