From: Uwe Kleine-König Date: Thu, 16 Jul 2009 15:05:43 +0000 (+0100) Subject: serial: don't add msm_serial's probe function to the driver struct X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8f4256b22c554f713ffdd395c1f2bfd53746cfc9;p=openwrt%2Fstaging%2Fblogic.git serial: don't add msm_serial's probe function to the driver struct msm_serial_driver is registered using platform_driver_probe which takes care for the probe function itself. So don't pass it in the driver struct, too. Signed-off-by: Uwe Kleine-König Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- diff --git a/drivers/serial/msm_serial.c b/drivers/serial/msm_serial.c index 698048f64f5e..f7c24baa1416 100644 --- a/drivers/serial/msm_serial.c +++ b/drivers/serial/msm_serial.c @@ -730,7 +730,6 @@ static int __devexit msm_serial_remove(struct platform_device *pdev) } static struct platform_driver msm_platform_driver = { - .probe = msm_serial_probe, .remove = msm_serial_remove, .driver = { .name = "msm_serial",