From mboxrd@z Thu Jan 1 00:00:00 1970 From: nicolas.ferre@atmel.com (Nicolas Ferre) Date: Mon, 3 Oct 2011 12:11:19 +0200 Subject: [PATCH 3/3] tty/serial: atmel_serial: __devinit_p for probe function In-Reply-To: References: Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Signed-off-by: Nicolas Ferre --- drivers/tty/serial/atmel_serial.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index a652f8f..e40a10a 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c @@ -1789,7 +1789,7 @@ static int __devexit atmel_serial_remove(struct platform_device *pdev) } static struct platform_driver atmel_serial_driver = { - .probe = atmel_serial_probe, + .probe = __devinit_p(atmel_serial_probe), .remove = __devexit_p(atmel_serial_remove), .suspend = atmel_serial_suspend, .resume = atmel_serial_resume, -- 1.7.3