From: Ben Dooks Date: Mon, 18 Sep 2006 12:30:17 +0000 (+0100) Subject: [ARM] 3793/1: S3C2412: fix wrong serial info struct X-Git-Tag: upstream/snapshot3+hdmi~38376^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=71aa7054d3df0f74d9ffbef3dd1486764c7f592a;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [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 Signed-off-by: Thomas Glexiner Signed-off-by: Russell King --- diff --git a/drivers/serial/s3c2410.c b/drivers/serial/s3c2410.c index 392bffc..95738a1 100644 --- a/drivers/serial/s3c2410.c +++ b/drivers/serial/s3c2410.c @@ -1621,7 +1621,7 @@ static struct s3c24xx_uart_info s3c2412_uart_inf = { static int s3c2412_serial_probe(struct platform_device *dev) { dbg("s3c2440_serial_probe: dev=%p\n", dev); - return s3c24xx_serial_probe(dev, &s3c2440_uart_inf); + return s3c24xx_serial_probe(dev, &s3c2412_uart_inf); } static struct platform_driver s3c2412_serial_drv = {