From patchwork Tue Nov 8 14:50:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101549 Delivered-To: patch@linaro.org Received: by 10.182.113.165 with SMTP id iz5csp1739093obb; Tue, 8 Nov 2016 06:53:28 -0800 (PST) X-Received: by 10.98.157.148 with SMTP id a20mr24321240pfk.1.1478616808758; Tue, 08 Nov 2016 06:53:28 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r81si37242220pfa.247.2016.11.08.06.53.28; Tue, 08 Nov 2016 06:53:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751340AbcKHOx1 (ORCPT + 2 others); Tue, 8 Nov 2016 09:53:27 -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 Received: from wuerfel.lan. ([78.43.20.153]) by mrelayeu.kundenserver.de (mreue104) with ESMTPA (Nemesis) id 0MVd8x-1cKoZd1Rjr-00Yyud; Tue, 08 Nov 2016 15:51:34 +0100 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-serial-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org 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(-) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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;