Thread (8 messages) 8 messages, 3 authors, 2011-10-03

[PATCH 3/3] tty/serial: atmel_serial: __devinit_p for probe function

From: Nicolas Ferre <hidden>
Date: 2011-10-03 09:49:42
Also in: linux-serial, lkml

On 10/03/2011 11:36 AM, Arnd Bergmann :
On Monday 03 October 2011 12:11:19 Nicolas Ferre wrote:
quoted
 }
 
 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,
Still wrong: __devinit_p does not exist and is not needed.
OMG, the not-enouth-coffee syndrome... twice!

So we forget all this and I try to increase my signal/noise ratio ;-)

Bye,
-- 
Nicolas Ferre
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help