Commit 71aa7054d3df0f74d9ffbef3dd1486764c7f592a

Authored by Ben Dooks
Committed by Russell King
1 parent 36694a4c22

[ARM] 3793/1: S3C2412: fix wrong serial info struct

Patch from Ben Dooks

The S3C2440 serial info struct is being passed
through the S3C2412 serial info struct probe
routine.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Thomas Glexiner <tglx@linutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/serial/s3c2410.c
... ... @@ -1621,7 +1621,7 @@
1621 1621 static int s3c2412_serial_probe(struct platform_device *dev)
1622 1622 {
1623 1623 dbg("s3c2440_serial_probe: dev=%p\n", dev);
1624   - return s3c24xx_serial_probe(dev, &s3c2440_uart_inf);
  1624 + return s3c24xx_serial_probe(dev, &s3c2412_uart_inf);
1625 1625 }
1626 1626  
1627 1627 static struct platform_driver s3c2412_serial_drv = {