Skip to content

Commit

Permalink
irqchip: renesas-irqc: Use u32 to store 32-bit register values
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geert Uytterhoeven authored and Jason Cooper committed Mar 3, 2015
1 parent c517d83 commit f791e3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/irqchip/irq-renesas-irqc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
unsigned long tmp;
u32 tmp;

irqc_dbg(&p->irq[hw_irq], "sense");

Expand All @@ -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;
unsigned long bit = BIT(i->hw_irq);
u32 bit = BIT(i->hw_irq);

irqc_dbg(i, "demux1");

Expand Down

0 comments on commit f791e3c

Please sign in to comment.