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

From: Arnd Bergmann
Date: Mon Oct 03 2011 - 05:36:16 EST


On Monday 03 October 2011 12:11:19 Nicolas Ferre wrote:
> }
>
> 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.

What bug are you trying to fix here?

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/