Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753035AbcKHOx2 (ORCPT ); Tue, 8 Nov 2016 09:53:28 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:55525 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751359AbcKHOxX (ORCPT ); Tue, 8 Nov 2016 09:53:23 -0500 From: Arnd Bergmann To: Greg Kroah-Hartman Cc: Arnd Bergmann , Jiri Slaby , Peter Hurley , Sergey Yanovich , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] serial: pxa2xx: remove __deprecated annotation Date: Tue, 8 Nov 2016 15:50:41 +0100 Message-Id: <20161108145130.3502815-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:GxtKUSCMNDsZCZDlk0/3d47+ermd5qFya1vpC4xkt/vvonJ8jP8 A2OLtsRw7l7NGtimTH8kM4q1C19Id7mfq1Ji0Zk7Y4CcHFzWTPhyX1And4oRsgZ+5+b1VZV atVW0359wNbBQrBlMk2MCwqkPOwkXR2psTuWq5XpCqEos7ZYdXFVMbIRq6DSRWN41UDNqUr OeXrY2SThN8uuEJZ67cUA== X-UI-Out-Filterresults: notjunk:1;V01:K0:uU004eLcX+c=:eM4WuRtZg4cRfdmDO+QETI h1/2jBifglDuMZ43F0k+MlsqdJ2pixXOPYvOYs4ST/SWSXNdYfeZDtcpk9TlrsF9tKPMwPi8I yUrlnXLgg0XHpE5Gvzl2FeuKyHdb05EvMipKy1LASd2D1kSodUAEAXz6kORnDIbIg2Dy8T/bA gWHc40Cvcd1AVIgSQdG/mWTT5cVgmOJrUcEVIk+n8O++eJ6/xfJUbDPdpul2B50TNE3NqcE55 BbSz9zjkfvmHruiEy/aLSH4p/cE5keVaBVcq2G8sgantxDlCJ6OeSsgVRHk2RQUMUUzlj52N+ Z0SqwB3LzFYWdN3DfS6ES2rrE8JYWE/KV+rBsgUgcc5AMcx4Ns5EYi9ufFJk5Cbq4Pe5EdGxo CGqJQDnou568FA4sjsHr9iXpcerP9fnCv1BC0RL2vz2og5C457D5aw2OAyKsQ7NsmQSODRGJr 1JXQB2V0oR4fgHVjOGlBcLUUXvoW669ihKYCkddH4LVKT1ISUhiQd7D2VUmv5TJY+DhaMzG9O lldaEB2jr1b5lNXsbP1IcoRelidd9c7YtsUp+Ot1NjGYfxbDPywlJwIny+f8ossjRwwyxtIDu Q6cqXbsgs2iJl2S0s4L0pYNM1+3+AoutSjN/QgYseaNZd+0gqm9hDhpKYiagEK6A3BlbxEQLs qgGnV777+yPFlFlf/DE3ulLZ0ugOzjlm3bPFfGc+Mp7Qch9CBihLEg9vNgjDjRLMgvl0= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1008 Lines: 30 An otherwise very nice cleanup of the pxa2xx uart support marked the init function of this driver as __deprecated: drivers/tty/serial/pxa.c:944:1: error: 'serial_pxa_init' is deprecated [-Werror=deprecated-declarations] This seems unhelpful to me, as we now warn for every allmodconfig build, which is otherwise free of warnings on most architectures. Let's remove the annotation again. Fixes: ab28f51c77cd ("serial: rewrite pxa2xx-uart to use 8250_core") Signed-off-by: Arnd Bergmann --- drivers/tty/serial/pxa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/pxa.c b/drivers/tty/serial/pxa.c index b9dd787cb561..75952811c0da 100644 --- a/drivers/tty/serial/pxa.c +++ b/drivers/tty/serial/pxa.c @@ -927,7 +927,7 @@ static struct platform_driver serial_pxa_driver = { /* 8250 driver for PXA serial ports should be used */ -static int __deprecated __init serial_pxa_init(void) +static int __init serial_pxa_init(void) { int ret; -- 2.9.0