From patchwork Mon Aug 21 20:22:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 9913679 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 0F4FD602A0 for ; Mon, 21 Aug 2017 20:23:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 03A3D1FE8D for ; Mon, 21 Aug 2017 20:23:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC59028813; Mon, 21 Aug 2017 20:23:32 +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.4 required=2.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,RCVD_IN_SORBS_SPAM 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 7ACF01FE8D for ; Mon, 21 Aug 2017 20:23:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754345AbdHUUXc (ORCPT ); Mon, 21 Aug 2017 16:23:32 -0400 Received: from mout.gmx.net ([212.227.17.20]:64606 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754326AbdHUUXa (ORCPT ); Mon, 21 Aug 2017 16:23:30 -0400 Received: from p100.fritz.box ([193.159.21.213]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MXDo1-1e6hQg3Ww1-00WE8A; 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 06/14] parisc/scsi/zalon: Fix section mismatches Date: Mon, 21 Aug 2017 22:22:53 +0200 Message-Id: <1503346981-28024-7-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:UO8GsaXGROuX4ryDTBUp0fAUpiDTNfmCRJECrLi5h5uzCA1T7sZ 0HX0QhIvsh7qx6OzYkXtH5EMf3iUcrAAXczuvHtaL/VwMWBAEJHojMxMhkxw47Q4saLWggX q+BbfgU+O/e+OaB8vE7Xr6Rt0u4UaJtvstz4hlSDSk7LE2uhCmsOuC3rqntuW1boBS2miYY SvSreBymbwijVp5VBTJjQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:cGnXKQMtRwc=:EdL4dlN0SSaYi5kBM80I1Z Rcxojg8ih6DSt9sv99RYgicsLDn4qG5BYny1zVSjSdypA9RSAjmK1KAIO9+3G0eP0WKXy0bO8 Eihoed+O1lIYf+/tTn0do2wpgMAVtpq4ASxX25Mxu9EsYQV/NYjkHtMxC4I+o581z2l+yKtMu H4XQCEVk86E/O0O/1LiyabeI7Oh40wjQEQW93rLT49Iv78yXWNqrgelVGztTsmOV8dzfeHaa3 MsLonewvTJQQSCcEaOGc8oLHpWNEvUTo7j/K0d+a6GSrNpG62cxAcU9MiWKkSFxZEJmZCCZCN ExTOcLmre2E9wCrfQHZmrwwJL1nb86PAB0+lFhrEnL1ZH0pO7zuHG2VGqRPe8aT1SDJ4yJlcz KWfBDkRWh2Q7F1iSMWP7IFysbu+evGUOLLJWd0PscVc5R6eaDQVEi5hlLvN6G3yoj1DxJm/Y5 aArTAkQGA8TTCTkl4jE6JLDIHa5rOGKsMhLe4lh3XwTPPSph1oTwZy9hFgIWhIoWzq8XeQug5 X0sWkbyAiv0xBIvvVsDLObdclnAxTXtR4S81ItPpt6FcuHbBS0i8SHnxrj2kdkswhX4SXZH+y BdgciumazshTaYbymrEpyBUk/2QCEzNRpPwyn7NdgTBpEAqK4rO0iRZZSo2wNGYqYVJIEyWcJ 27YpyHumqjcdctvjOHHHtZVfHn52GW7T3sF5AQLpWG09rruNLO5OtPDZLQTZYo/VrKI5booUA k4mSfEa2bYStYS2saWWVtn8HQTlonPXRMzpfgIlMAUlppqu5CfIKZ9cWzpJdnmGnxNdDe4s1b tPZs7hkQyIJVkpX2l2gEc0NBkYVzA== 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/zalon.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/zalon.c b/drivers/scsi/zalon.c index b2cf1fa..a2fb7ad 100644 --- a/drivers/scsi/zalon.c +++ b/drivers/scsi/zalon.c @@ -160,14 +160,14 @@ zalon_probe(struct parisc_device *dev) return error; } -static struct parisc_device_id zalon_tbl[] = { +static struct parisc_device_id zalon_tbl[] __initconst = { { HPHW_A_DMA, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x00089 }, { 0, } }; MODULE_DEVICE_TABLE(parisc, zalon_tbl); -static int zalon_remove(struct parisc_device *dev) +static int __exit zalon_remove(struct parisc_device *dev) { struct Scsi_Host *host = dev_get_drvdata(&dev->dev); @@ -178,11 +178,11 @@ static int zalon_remove(struct parisc_device *dev) return 0; } -static struct parisc_driver zalon_driver = { +static struct parisc_driver zalon_driver __refdata = { .name = "zalon", .id_table = zalon_tbl, .probe = zalon_probe, - .remove = zalon_remove, + .remove = __exit_p(zalon_remove), }; static int __init zalon7xx_init(void)