diff options
Diffstat (limited to 'drivers/irqchip/irq-sunxi-nmi.c')
-rw-r--r-- | drivers/irqchip/irq-sunxi-nmi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/irqchip/irq-sunxi-nmi.c b/drivers/irqchip/irq-sunxi-nmi.c index 12f547a44ae4..4a9ce5b50c5b 100644 --- a/drivers/irqchip/irq-sunxi-nmi.c +++ b/drivers/irqchip/irq-sunxi-nmi.c | |||
@@ -50,12 +50,12 @@ static struct sunxi_sc_nmi_reg_offs sun6i_reg_offs = { | |||
50 | static inline void sunxi_sc_nmi_write(struct irq_chip_generic *gc, u32 off, | 50 | static inline void sunxi_sc_nmi_write(struct irq_chip_generic *gc, u32 off, |
51 | u32 val) | 51 | u32 val) |
52 | { | 52 | { |
53 | irq_reg_writel(val, gc->reg_base + off); | 53 | irq_reg_writel(gc, val, off); |
54 | } | 54 | } |
55 | 55 | ||
56 | static inline u32 sunxi_sc_nmi_read(struct irq_chip_generic *gc, u32 off) | 56 | static inline u32 sunxi_sc_nmi_read(struct irq_chip_generic *gc, u32 off) |
57 | { | 57 | { |
58 | return irq_reg_readl(gc->reg_base + off); | 58 | return irq_reg_readl(gc, off); |
59 | } | 59 | } |
60 | 60 | ||
61 | static void sunxi_sc_nmi_handle_irq(unsigned int irq, struct irq_desc *desc) | 61 | static void sunxi_sc_nmi_handle_irq(unsigned int irq, struct irq_desc *desc) |