Commit 8e845880 authored by Ben Dooks's avatar Ben Dooks Committed by Russell King

[ARM PATCH] 2483/1: S3C2410 - serial sparse error

Patch from Ben Dooks

Eliminate NULL initiated fields in the port structures
which where causing errors from sparse.

Signed-off-by: Ben Dooks
Signed-off-by: Russell King
parent 5063dd9d
......@@ -955,8 +955,6 @@ static struct s3c24xx_uart_port s3c24xx_serial_ports[NR_PORTS] = {
[0] = {
.port = {
.lock = SPIN_LOCK_UNLOCKED,
.membase = 0,
.mapbase = 0,
.iotype = UPIO_MEM,
.irq = IRQ_S3CUART_RX0,
.uartclk = 0,
......@@ -969,8 +967,6 @@ static struct s3c24xx_uart_port s3c24xx_serial_ports[NR_PORTS] = {
[1] = {
.port = {
.lock = SPIN_LOCK_UNLOCKED,
.membase = 0,
.mapbase = 0,
.iotype = UPIO_MEM,
.irq = IRQ_S3CUART_RX1,
.uartclk = 0,
......@@ -985,8 +981,6 @@ static struct s3c24xx_uart_port s3c24xx_serial_ports[NR_PORTS] = {
[2] = {
.port = {
.lock = SPIN_LOCK_UNLOCKED,
.membase = 0,
.mapbase = 0,
.iotype = UPIO_MEM,
.irq = IRQ_S3CUART_RX2,
.uartclk = 0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment