From patchwork Mon Aug 21 20:22:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 9913685 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 AC1B0603FF for ; Mon, 21 Aug 2017 20:23:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A049C1FE8D for ; Mon, 21 Aug 2017 20:23:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 953BC287D4; Mon, 21 Aug 2017 20:23:34 +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 50CC31FE8D for ; Mon, 21 Aug 2017 20:23:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754358AbdHUUXe (ORCPT ); Mon, 21 Aug 2017 16:23:34 -0400 Received: from mout.gmx.net ([212.227.17.22]:58006 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754339AbdHUUXb (ORCPT ); Mon, 21 Aug 2017 16:23:31 -0400 Received: from p100.fritz.box ([193.159.21.213]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LeRKD-1dDuz701mP-00qF1W; Mon, 21 Aug 2017 22:23:04 +0200 From: Helge Deller To: linux-parisc@vger.kernel.org Cc: John David Anglin , James Bottomley Subject: [PATCH 07/14] parisc/scsi/lasi700: Fix section mismatches Date: Mon, 21 Aug 2017 22:22:54 +0200 Message-Id: <1503346981-28024-8-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:8D2DtPJcpVQso+S0agHMMJee9JJVs+cjLIoubjiY1mGfL2RJNB2 m08yVrj7Ke3NnrPW7Guj9qf7wan6bbvlgNLNlHhIprZL1ii6NJAD3URfqVQIysJahLEGrS6 zYGyOTZ6cpqPFiaI84u32vUhS8F6gNDZBKHWLV+G3kyf6Q6slUDtjeG0V+OyjGYq1CJhXpw HAmxEguKg7hA5SpKSSlqA== X-UI-Out-Filterresults: notjunk:1; V01:K0:jC8Xac8e5W0=:Vc0d3wIHXV6IWRTw5wFdyA rI/ZieFmxopRllb+bK2Pq8JAAQm04G3TqY7+PbEG2XA77XVHjgXxjhWfqDq9NmwyzxnCCtABN YaguS5W1Zwsf+nQMYgVww39a4hI0AS2atRr3nMkyPvyX819Rm5UbVemdvPvQElTqqXgE/cet2 kpQc3BaTKSXdlAg2HtSXnJ0xkJrMMX3t4Ne6hUBvttxxWsZbLreB+7tH0hFajJZMBTK42kjR6 6SWyDEWIzkZoWNWHTZl0sqVuncHQqGW9QF9K2k7o89VQiBpOx+1OZMQmq4CL0wzlq4+OJxyat nh6dVedyfw2yGz33BQxZ4kjlImVAP57FlP9wVRS/FAWwyFTEx057OkaW+HkZy2JX/LSYGp0fX 6+uj/vBPHlbyCai9fQjV8NfsH0JYi7MbKkDyB3LD7lQVJAQ5qW7BbwaCyFMPFO6jRyMMDdERZ d4yx+2y2VSWBdCuSalq/mZ0hG81LjEv/e4X8p5U/hbUOOGrA+/ELpJe30203EKf5WlvwfCkv6 F7Sn41Jq1oAjTlgEww2YBpqL7/CEd24PCcGF+4y/CUQnvVUQHfeShXBEhmxgD9yluMjisDnFX 5rEsnqxspayt1g3cSfwzyALz2XE78IP5/6mYm6VlZiT963j2dUjNyXUcmrCiLmtkNkwZVKSPi 1MWIuz08OoDXkQrDf0K9J0Baemx5Vz+p2q3L1eSmo916ZI3YofpA7Qyqrm+Ga4gTRutcY3prZ 7iXH/IMyjsMue0c4G1AuS7ENxDNde21XtQh40A++n2tw6vNmv4SHj9XsSfCPti9Ek+YgBUcCa xwH/dERvjOqmp1beeOT+BMEh7YalQ== 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/scsi/lasi700.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/lasi700.c b/drivers/scsi/lasi700.c index 5c4ded9..576aae4 100644 --- a/drivers/scsi/lasi700.c +++ b/drivers/scsi/lasi700.c @@ -81,7 +81,7 @@ MODULE_LICENSE("GPL"); #define LASI710_CLOCK 40 #define LASI_SCSI_CORE_OFFSET 0x100 -static struct parisc_device_id lasi700_ids[] = { +static struct parisc_device_id lasi700_ids[] __initconst = { LASI700_ID_TABLE, LASI710_ID_TABLE, { 0 } @@ -164,11 +164,11 @@ lasi700_driver_remove(struct parisc_device *dev) return 0; } -static struct parisc_driver lasi700_driver = { +static struct parisc_driver lasi700_driver __refdata = { .name = "lasi_scsi", .id_table = lasi700_ids, .probe = lasi700_probe, - .remove = lasi700_driver_remove, + .remove = __exit_p(lasi700_driver_remove), }; static int __init