From patchwork Mon Aug 21 20:22:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 9913661 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 78D22602A0 for ; Mon, 21 Aug 2017 20:23:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6C47B28755 for ; Mon, 21 Aug 2017 20:23:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 60872287E3; Mon, 21 Aug 2017 20:23:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E35AD286D0 for ; Mon, 21 Aug 2017 20:23:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753785AbdHUUXS (ORCPT ); Mon, 21 Aug 2017 16:23:18 -0400 Received: from mout.gmx.net ([212.227.17.22]:54854 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753628AbdHUUXS (ORCPT ); Mon, 21 Aug 2017 16:23:18 -0400 Received: from p100.fritz.box ([193.159.21.213]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M20Jj-1dPLTA2ns3-00tyM0; Mon, 21 Aug 2017 22:23:03 +0200 From: Helge Deller To: linux-parisc@vger.kernel.org Cc: John David Anglin , James Bottomley Subject: [PATCH 05/14] parisc/8250_gsc: Fix section mismatches Date: Mon, 21 Aug 2017 22:22:52 +0200 Message-Id: <1503346981-28024-6-git-send-email-deller@gmx.de> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1503346981-28024-1-git-send-email-deller@gmx.de> References: <1503346981-28024-1-git-send-email-deller@gmx.de> X-Provags-ID: V03:K0:JrJ8xYVm+wDpk19oPKk0LdM0ITtTYrxGzd+IM2z0lUOpSys6peS SXej2kIx/MHpFhJt661VS9DxLKkEuRIkLiVYbSdeXwQjHc0pdQRYea98JfDSAbT+B+EF+JE +i35MF3jTc223YO4j2aelMrNoFcq2qTXVLqDZzQ6p0p+MR0uBcgLs7y4eWdJl37FGd3K4u7 Ovzyp6CIc0HNrj8KPMQzA== X-UI-Out-Filterresults: notjunk:1; V01:K0:hRt+Sb7zlh8=:tBXeDG6VcU04m5vt50lOPT rP32JmAoMHvkRiam1gg/pTS+cpK/N4V5m6QqxNtSMA9p8ndhEtpelg5yV2u0fKKfPnaSVhD3n p4FWG0y9y1J5lRiEyHKPyBit1odqfCZfm02I/nrtS3ChInPMRyO1a0pa86O4HHIJRIZ2i0kNK 8+JJtWtck7IX9DZEDlIPfmgc1b+COjzrAHRBMe3nJQoX7F/14EXGj/flPC3diKPmt3ILn/bMt aaV5GRmAjyoemYHaXZvTLRvQarSrlVeHK/a7IUacobVr97suqQobJliS/x2SmHoeuljQhlRbY tWOUeUP02Yt10k06ayO2rk5o1MPei3F1QRL9/D0rLaZK1BbkE5USGp4K0LIkOdes3TH6XOMjO 43nT6qegBGmma36A0o6mVJE8OT1Ze9gQZjcTXC2zrl+oWkfpIRLbSjjKQguVA4BPW4UbCp3WQ HWGk9FPexhg6Kenc6WjIKiqgPje57zQWABQSpGbq1neJ9B005oe4jt5gvyZ/f0BbEc82vkdeD +VeuN3x9O+1qC4Gmg4SDPsRtzfnOal/M+VHhUO7k5Y+v0rgjxAbWtyR9d9aaajzORKY36j4hl vEfykinBusf85wJg5D16WzRbUzlfAqIDrqqzk5o2fZyF4WATVtVR8sVByJ7cxSEzROsO4UCW+ DiV1WvAblVBtazCgBNlKDypW8Jw5rAeDEDyYbfHB5YCvzuiAYbXOkaZueWFznu/aq0NQPgojU tUtTTRGaSNt3c6a7s9AP2X91VnBDYne+SRzp+GgH3P4OAV0Fyj5aV0e3aoLC/gfQCVnB1pOnj S6VOU28/Cdo8fEadLRRx7aECc4NHA== Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Helge Deller --- drivers/tty/serial/8250/8250_gsc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/tty/serial/8250/8250_gsc.c b/drivers/tty/serial/8250/8250_gsc.c index 63306de..e142ab2 100644 --- a/drivers/tty/serial/8250/8250_gsc.c +++ b/drivers/tty/serial/8250/8250_gsc.c @@ -80,7 +80,7 @@ static int __init serial_init_chip(struct parisc_device *dev) return 0; } -static struct parisc_device_id serial_tbl[] = { +static struct parisc_device_id serial_tbl[] __initconst = { { HPHW_FIO, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x00075 }, { HPHW_FIO, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x0008c }, { HPHW_FIO, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x0008d }, @@ -94,7 +94,7 @@ static struct parisc_device_id serial_tbl[] = { * which only knows about Lasi and then a second which will find all the * other serial ports. HPUX ignores this problem. */ -static struct parisc_device_id lasi_tbl[] = { +static struct parisc_device_id lasi_tbl[] __initconst = { { HPHW_FIO, HVERSION_REV_ANY_ID, 0x03B, 0x0008C }, /* C1xx/C1xxL */ { HPHW_FIO, HVERSION_REV_ANY_ID, 0x03C, 0x0008C }, /* B132L */ { HPHW_FIO, HVERSION_REV_ANY_ID, 0x03D, 0x0008C }, /* B160L */ @@ -110,13 +110,13 @@ static struct parisc_device_id lasi_tbl[] = { MODULE_DEVICE_TABLE(parisc, serial_tbl); -static struct parisc_driver lasi_driver = { +static struct parisc_driver lasi_driver __refdata = { .name = "serial_1", .id_table = lasi_tbl, .probe = serial_init_chip, }; -static struct parisc_driver serial_driver = { +static struct parisc_driver serial_driver __refdata = { .name = "serial", .id_table = serial_tbl, .probe = serial_init_chip,