diff options
| author | Ben Dooks <ben-linux@org.rmk.(none)> | 2005-03-03 01:37:23 +0000 |
|---|---|---|
| committer | Russell King <rmk@flint.arm.linux.org.uk> | 2005-03-03 01:37:23 +0000 |
| commit | 8e8458805a97d5459a92cc66ed2c4cb5345cf36d (patch) | |
| tree | 462ddb5855fac1b68295c8b94437e0d7d8aede42 | |
| parent | 5063dd9d9f91c42bdf7081fb85a808c06baad895 (diff) | |
[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
| -rw-r--r-- | drivers/serial/s3c2410.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/serial/s3c2410.c b/drivers/serial/s3c2410.c index 6079c8cc7aa0..e38ee543ec81 100644 --- a/drivers/serial/s3c2410.c +++ b/drivers/serial/s3c2410.c @@ -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, |
