Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2014086pxf; Sat, 27 Mar 2021 00:04:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybCAoBYFYowMrc6kGyUQhA+StWn0Smit8a5YALuvuVKmFTDg6Wh6Q3OIijWSSaKhX6NOSZ X-Received: by 2002:a17:906:2bc3:: with SMTP id n3mr19120731ejg.418.1616828649208; Sat, 27 Mar 2021 00:04:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616828649; cv=none; d=google.com; s=arc-20160816; b=A34HvvJrSbB+jmZpPDtwYYnFDepd0p4FIWStYuZKLzApxpNiuU4JMT//8oj1lYXq3X fQ4795lg1m+Ir5DTfnQRRObvCt2acbXTtn3IKH9CldsxamoGN0NlflOrfht/vWqjQllT 3bSWwlBDz8z75Y8xqk7Lv9fosL17LJVfucjIjUgxFcA7n8sg2hDAx5k18HrFJuqKPbhD peHVBWx6RkksfpvC9uDkCrY0pUKKgn/anQE/CqtJ5IXcBgJf7sXSGAwj7Q93FxK+FocE 218UF6z7mLurEUxf/KdSoXojQFpYtnlvBgFTObOmqiOPbSoIjzdInn9Em+J98/V8x0yo /2mQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=DlsNPeZB5oxp0/FrP08/4RxZ4YxH4/fpX6RiND+6W6o=; b=lbEZzcwTpnnzPi8mWF44sUA5WlY+92HPEKN0UalyjZOQo9gW1GVrf9c9KVQJzct8b0 qzAkUH5y55UeSmmvSnf2xnAEoNDc1yCj8TL77k7Zg7z5X2RnPMUb/5dcCiFngPHUqKax v1zUJY6wrgJsByG2LXQryYFoEwF93JE0R6ry4q89cHzz6TvTEnqFgCPee1gEhrtg2Qa0 DlQyNyWLsherAsqGJRXFtRp4TKIs2JYXz28keR4M8J8lsoDpgt8gzqwUqZBfPYH+7qlZ sqX1Rh/hXfK6ZzU1QU19TvqDP40jFhl0soOJP1QU/4rfx0nKWAxjQ/Iatw/ow0ovFe8G HgfQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y8si8701910eda.435.2021.03.27.00.03.46; Sat, 27 Mar 2021 00:04:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231249AbhC0HCF (ORCPT + 99 others); Sat, 27 Mar 2021 03:02:05 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:14569 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230195AbhC0HBv (ORCPT ); Sat, 27 Mar 2021 03:01:51 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4F6qSt4tfdzPtLr; Sat, 27 Mar 2021 14:59:10 +0800 (CST) Received: from huawei.com (10.175.113.32) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.498.0; Sat, 27 Mar 2021 15:01:36 +0800 From: Shixin Liu To: Hannes Reinecke , "James E.J. Bottomley" , "Martin K. Petersen" CC: , , , Shixin Liu Subject: [PATCH -next 2/2] scsi: myrs: Make symbols DAC960_{GEM/BA/LP}_privdata static Date: Sat, 27 Mar 2021 15:31:57 +0800 Message-ID: <20210327073157.1786772-1-liushixin2@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.113.32] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This symbol is not used outside of myrs.c, so we can marks it static. Signed-off-by: Shixin Liu --- drivers/scsi/myrs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/myrs.c b/drivers/scsi/myrs.c index 9ebff2449a54..d5ec1cdea0e1 100644 --- a/drivers/scsi/myrs.c +++ b/drivers/scsi/myrs.c @@ -2656,7 +2656,7 @@ static irqreturn_t DAC960_GEM_intr_handler(int irq, void *arg) return IRQ_HANDLED; } -struct myrs_privdata DAC960_GEM_privdata = { +static struct myrs_privdata DAC960_GEM_privdata = { .hw_init = DAC960_GEM_hw_init, .irq_handler = DAC960_GEM_intr_handler, .mmio_size = DAC960_GEM_mmio_size, @@ -2906,7 +2906,7 @@ static irqreturn_t DAC960_BA_intr_handler(int irq, void *arg) return IRQ_HANDLED; } -struct myrs_privdata DAC960_BA_privdata = { +static struct myrs_privdata DAC960_BA_privdata = { .hw_init = DAC960_BA_hw_init, .irq_handler = DAC960_BA_intr_handler, .mmio_size = DAC960_BA_mmio_size, @@ -3156,7 +3156,7 @@ static irqreturn_t DAC960_LP_intr_handler(int irq, void *arg) return IRQ_HANDLED; } -struct myrs_privdata DAC960_LP_privdata = { +static struct myrs_privdata DAC960_LP_privdata = { .hw_init = DAC960_LP_hw_init, .irq_handler = DAC960_LP_intr_handler, .mmio_size = DAC960_LP_mmio_size, -- 2.25.1