Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 558e6694 authored by Yoshinori Sato's avatar Yoshinori Sato
Browse files

h8300: irqchip: fix warning



Var "addr" type incorrect.
It have interrupt controler register address.
Type of void __iomem is correct.

Signed-off-by: default avatarYoshinori Sato <ysato@users.sourceforge.jp>
parent c489dfef
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@
#include <asm/io.h>

static void *intc_baseaddr;
#define IPRA ((unsigned long)intc_baseaddr)
#define IPRA (intc_baseaddr)

static const unsigned char ipr_table[] = {
	0x03, 0x02, 0x01, 0x00, 0x13, 0x12, 0x11, 0x10, /* 16 - 23 */
@@ -34,7 +34,7 @@ static const unsigned char ipr_table[] = {
static void h8s_disable_irq(struct irq_data *data)
{
	int pos;
	unsigned int addr;
	void __iomem *addr;
	unsigned short pri;
	int irq = data->irq;

@@ -48,7 +48,7 @@ static void h8s_disable_irq(struct irq_data *data)
static void h8s_enable_irq(struct irq_data *data)
{
	int pos;
	unsigned int addr;
	void __iomem *addr;
	unsigned short pri;
	int irq = data->irq;