From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux Subject: Re: [PATCH 3/3] tty/serial: atmel_serial: __devinit_p for probe function Date: Mon, 3 Oct 2011 09:50:29 +0100 Message-ID: <20111003085029.GA11710@n2100.arm.linux.org.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Nicolas Ferre Cc: linux-kernel@vger.kernel.org, plagnioj@jcrosoft.com, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org, alan@linux.intel.com List-Id: linux-serial@vger.kernel.org On Mon, Oct 03, 2011 at 11:46:16AM +0200, Nicolas Ferre wrote: > 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..453cdb5 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 = __devexit_p(atmel_serial_probe), That doesn't match the patch description (and is probably wrong.)