projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c517d83
)
irqchip: renesas-irqc: Use u32 to store 32-bit register values
author
Geert Uytterhoeven
<geert+renesas@glider.be>
Thu, 26 Feb 2015 10:43:32 +0000
(11:43 +0100)
committer
Jason Cooper
<jason@lakedaemon.net>
Tue, 3 Mar 2015 20:03:08 +0000
(20:03 +0000)
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link:
https://lkml.kernel.org/r/1424947412-8061-1-git-send-email-geert+renesas@glider.be
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-renesas-irqc.c
patch
|
blob
|
history
diff --git
a/drivers/irqchip/irq-renesas-irqc.c
b/drivers/irqchip/irq-renesas-irqc.c
index 384e6ed61d7c5e94a3081380b0bde6edc2d08129..2ea3412fdf8cc668f6b82cef0b855bea163c7f2d 100644
(file)
--- a/
drivers/irqchip/irq-renesas-irqc.c
+++ b/
drivers/irqchip/irq-renesas-irqc.c
@@
-94,7
+94,7
@@
static int irqc_irq_set_type(struct irq_data *d, unsigned int type)
struct irqc_priv *p = irq_data_get_irq_chip_data(d);
int hw_irq = irqd_to_hwirq(d);
unsigned char value = irqc_sense[type & IRQ_TYPE_SENSE_MASK];
- u
nsigned long
tmp;
+ u
32
tmp;
irqc_dbg(&p->irq[hw_irq], "sense");
@@
-112,7
+112,7
@@
static irqreturn_t irqc_irq_handler(int irq, void *dev_id)
{
struct irqc_irq *i = dev_id;
struct irqc_priv *p = i->p;
- u
nsigned long
bit = BIT(i->hw_irq);
+ u
32
bit = BIT(i->hw_irq);
irqc_dbg(i, "demux1");