提交 6f973b00 编写于 作者: H Hirokazu Takata 提交者: Linus Torvalds

[PATCH] m32r: Update setup_xxxxx.c

Change coding styles of hw_interrupt_type struct's initialization portions.
Signed-off-by: NHirokazu Takata <takata@linux-m32r.org>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 23680863
......@@ -78,13 +78,13 @@ static void shutdown_m32700ut_irq(unsigned int irq)
static struct hw_interrupt_type m32700ut_irq_type =
{
"M32700UT-IRQ",
startup_m32700ut_irq,
shutdown_m32700ut_irq,
enable_m32700ut_irq,
disable_m32700ut_irq,
mask_and_ack_m32700ut,
end_m32700ut_irq
.typename = "M32700UT-IRQ",
.startup = startup_m32700ut_irq,
.shutdown = shutdown_m32700ut_irq,
.enable = enable_m32700ut_irq,
.disable = disable_m32700ut_irq,
.ack = mask_and_ack_m32700ut,
.end = end_m32700ut_irq
};
/*
......@@ -155,13 +155,13 @@ static void shutdown_m32700ut_pld_irq(unsigned int irq)
static struct hw_interrupt_type m32700ut_pld_irq_type =
{
"M32700UT-PLD-IRQ",
startup_m32700ut_pld_irq,
shutdown_m32700ut_pld_irq,
enable_m32700ut_pld_irq,
disable_m32700ut_pld_irq,
mask_and_ack_m32700ut_pld,
end_m32700ut_pld_irq
.typename = "M32700UT-PLD-IRQ",
.startup = startup_m32700ut_pld_irq,
.shutdown = shutdown_m32700ut_pld_irq,
.enable = enable_m32700ut_pld_irq,
.disable = disable_m32700ut_pld_irq,
.ack = mask_and_ack_m32700ut_pld,
.end = end_m32700ut_pld_irq
};
/*
......@@ -224,13 +224,13 @@ static void shutdown_m32700ut_lanpld_irq(unsigned int irq)
static struct hw_interrupt_type m32700ut_lanpld_irq_type =
{
"M32700UT-PLD-LAN-IRQ",
startup_m32700ut_lanpld_irq,
shutdown_m32700ut_lanpld_irq,
enable_m32700ut_lanpld_irq,
disable_m32700ut_lanpld_irq,
mask_and_ack_m32700ut_lanpld,
end_m32700ut_lanpld_irq
.typename = "M32700UT-PLD-LAN-IRQ",
.startup = startup_m32700ut_lanpld_irq,
.shutdown = shutdown_m32700ut_lanpld_irq,
.enable = enable_m32700ut_lanpld_irq,
.disable = disable_m32700ut_lanpld_irq,
.ack = mask_and_ack_m32700ut_lanpld,
.end = end_m32700ut_lanpld_irq
};
/*
......@@ -293,13 +293,13 @@ static void shutdown_m32700ut_lcdpld_irq(unsigned int irq)
static struct hw_interrupt_type m32700ut_lcdpld_irq_type =
{
"M32700UT-PLD-LCD-IRQ",
startup_m32700ut_lcdpld_irq,
shutdown_m32700ut_lcdpld_irq,
enable_m32700ut_lcdpld_irq,
disable_m32700ut_lcdpld_irq,
mask_and_ack_m32700ut_lcdpld,
end_m32700ut_lcdpld_irq
.typename = "M32700UT-PLD-LCD-IRQ",
.startup = startup_m32700ut_lcdpld_irq,
.shutdown = shutdown_m32700ut_lcdpld_irq,
.enable = enable_m32700ut_lcdpld_irq,
.disable = disable_m32700ut_lcdpld_irq,
.ack = mask_and_ack_m32700ut_lcdpld,
.end = end_m32700ut_lcdpld_irq
};
void __init init_IRQ(void)
......
......@@ -70,13 +70,13 @@ static void shutdown_mappi_irq(unsigned int irq)
static struct hw_interrupt_type mappi_irq_type =
{
"MAPPI-IRQ",
startup_mappi_irq,
shutdown_mappi_irq,
enable_mappi_irq,
disable_mappi_irq,
mask_and_ack_mappi,
end_mappi_irq
.typename = "MAPPI-IRQ",
.startup = startup_mappi_irq,
.shutdown = shutdown_mappi_irq,
.enable = enable_mappi_irq,
.disable = disable_mappi_irq,
.ack = mask_and_ack_mappi,
.end = end_mappi_irq
};
void __init init_IRQ(void)
......
......@@ -79,13 +79,13 @@ static void shutdown_mappi2_irq(unsigned int irq)
static struct hw_interrupt_type mappi2_irq_type =
{
"MAPPI2-IRQ",
startup_mappi2_irq,
shutdown_mappi2_irq,
enable_mappi2_irq,
disable_mappi2_irq,
mask_and_ack_mappi2,
end_mappi2_irq
.typename = "MAPPI2-IRQ",
.startup = startup_mappi2_irq,
.shutdown = shutdown_mappi2_irq,
.enable = enable_mappi2_irq,
.disable = disable_mappi2_irq,
.ack = mask_and_ack_mappi2,
.end = end_mappi2_irq
};
void __init init_IRQ(void)
......
......@@ -79,13 +79,13 @@ static void shutdown_mappi3_irq(unsigned int irq)
static struct hw_interrupt_type mappi3_irq_type =
{
"MAPPI3-IRQ",
startup_mappi3_irq,
shutdown_mappi3_irq,
enable_mappi3_irq,
disable_mappi3_irq,
mask_and_ack_mappi3,
end_mappi3_irq
.typename = "MAPPI3-IRQ",
.startup = startup_mappi3_irq,
.shutdown = shutdown_mappi3_irq,
.enable = enable_mappi3_irq,
.disable = disable_mappi3_irq,
.ack = mask_and_ack_mappi3,
.end = end_mappi3_irq
};
void __init init_IRQ(void)
......
......@@ -70,13 +70,13 @@ static void shutdown_oaks32r_irq(unsigned int irq)
static struct hw_interrupt_type oaks32r_irq_type =
{
"OAKS32R-IRQ",
startup_oaks32r_irq,
shutdown_oaks32r_irq,
enable_oaks32r_irq,
disable_oaks32r_irq,
mask_and_ack_mappi,
end_oaks32r_irq
.typename = "OAKS32R-IRQ",
.startup = startup_oaks32r_irq,
.shutdown = shutdown_oaks32r_irq,
.enable = enable_oaks32r_irq,
.disable = disable_oaks32r_irq,
.ack = mask_and_ack_mappi,
.end = end_oaks32r_irq
};
void __init init_IRQ(void)
......
......@@ -79,13 +79,13 @@ static void shutdown_opsput_irq(unsigned int irq)
static struct hw_interrupt_type opsput_irq_type =
{
"OPSPUT-IRQ",
startup_opsput_irq,
shutdown_opsput_irq,
enable_opsput_irq,
disable_opsput_irq,
mask_and_ack_opsput,
end_opsput_irq
.typename = "OPSPUT-IRQ",
.startup = startup_opsput_irq,
.shutdown = shutdown_opsput_irq,
.enable = enable_opsput_irq,
.disable = disable_opsput_irq,
.ack = mask_and_ack_opsput,
.end = end_opsput_irq
};
/*
......@@ -156,13 +156,13 @@ static void shutdown_opsput_pld_irq(unsigned int irq)
static struct hw_interrupt_type opsput_pld_irq_type =
{
"OPSPUT-PLD-IRQ",
startup_opsput_pld_irq,
shutdown_opsput_pld_irq,
enable_opsput_pld_irq,
disable_opsput_pld_irq,
mask_and_ack_opsput_pld,
end_opsput_pld_irq
.typename = "OPSPUT-PLD-IRQ",
.startup = startup_opsput_pld_irq,
.shutdown = shutdown_opsput_pld_irq,
.enable = enable_opsput_pld_irq,
.disable = disable_opsput_pld_irq,
.ack = mask_and_ack_opsput_pld,
.end = end_opsput_pld_irq
};
/*
......
......@@ -70,13 +70,13 @@ static void shutdown_mappi_irq(unsigned int irq)
static struct hw_interrupt_type mappi_irq_type =
{
"M32700-IRQ",
startup_mappi_irq,
shutdown_mappi_irq,
enable_mappi_irq,
disable_mappi_irq,
mask_and_ack_mappi,
end_mappi_irq
.typename = "M32700-IRQ",
.startup = startup_mappi_irq,
.shutdown = shutdown_mappi_irq,
.enable = enable_mappi_irq,
.disable = disable_mappi_irq,
.ack = mask_and_ack_mappi,
.end = end_mappi_irq
};
/*
......@@ -143,13 +143,13 @@ static void shutdown_m32700ut_pld_irq(unsigned int irq)
static struct hw_interrupt_type m32700ut_pld_irq_type =
{
"USRV-PLD-IRQ",
startup_m32700ut_pld_irq,
shutdown_m32700ut_pld_irq,
enable_m32700ut_pld_irq,
disable_m32700ut_pld_irq,
mask_and_ack_m32700ut_pld,
end_m32700ut_pld_irq
.typename = "USRV-PLD-IRQ",
.startup = startup_m32700ut_pld_irq,
.shutdown = shutdown_m32700ut_pld_irq,
.enable = enable_m32700ut_pld_irq,
.disable = disable_m32700ut_pld_irq,
.ack = mask_and_ack_m32700ut_pld,
.end = end_m32700ut_pld_irq
};
void __init init_IRQ(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册