Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2014894pxf; Sat, 27 Mar 2021 00:05:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyo7wvl+xWVsCQgVj0pvVJ8TDZKg6L4D1TI9z7UkWSpQa8jOQkAfkn1Fj+plGLB2qkDPxCo X-Received: by 2002:a17:906:5e4a:: with SMTP id b10mr19152748eju.116.1616828723639; Sat, 27 Mar 2021 00:05:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616828723; cv=none; d=google.com; s=arc-20160816; b=OaLHQhrip+S+034ebfZyDbWEXDxfXiJdAJeWvyp6uhPIyVyLxt27VLd5bzcZxzWlnC YArXKaez4L+oWeVPBN6fsXgl58exZLy/OoVYMBJOLwb2lSMJIBPNt77Xpzna1ovDRBF/ ZU4ASiNLpQG2ZVuyLExsd7Gx4DxfJyE/ZBMbKf+7Q24U2fVVtcL6FZke3GM2qc9ttwYe y46XMdVorOj0BmUGkhvL05IdzQkr5N4uF7Kl2rdyw/WpYKLaUcdMkPuOfQtfjNbTWHCr PnViWLbE8ALknSPQVvYOqHzSrHo0XeAUIcX9ck82HwBCqOk9v+tWzJuR/6ElrpTtqx6B xg3w== 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=cQ53enMtCvMc+gxI01xGmta9qMMCbKWfnYNvaCx+2RQ=; b=QKYIGo4vW2M0HKsrLh4f+3yKM82YbMajOCM3TMCUTDPIlSaZibx2MNzbX/+KNCd07B K4mdnLsYOdQTbDczdjASvPQCbK0BxGOwZUsF6tYyZF0p+S9hjpzIQcuHzv9hdiFoVEZP EBhwEjuMEbIL6J0kACw2kaB+erK0Ee83djekCjfvBiRU2I1jxJ1sREck/vHowOzYtc4+ dYqlPauRbmPs87erbA5mEbo7G2+zZvOZLOmVWrs9ki3KBLYcloEDRXAh1oNUOI8miKJo lYfZEddF6JviJXxkCmFUhROMSf9duKUHsY+r6lCm2z718qWRbeDNYHo1iOJoLoL9m6Xc gw+g== 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 a17si8556237eju.485.2021.03.27.00.05.00; Sat, 27 Mar 2021 00:05:23 -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 S230352AbhC0HCB (ORCPT + 99 others); Sat, 27 Mar 2021 03:02:01 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:15340 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230111AbhC0HBw (ORCPT ); Sat, 27 Mar 2021 03:01:52 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4F6qTR5lMDz93tg; Sat, 27 Mar 2021 14:59:39 +0800 (CST) Received: from huawei.com (10.175.113.32) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.498.0; Sat, 27 Mar 2021 15:01:35 +0800 From: Shixin Liu To: Hannes Reinecke , "James E.J. Bottomley" , "Martin K. Petersen" CC: , , , Shixin Liu Subject: [PATCH -next 1/2] scsi: myrb: Make symbols DAC960_{LA/PG/PD/P}_privdata static Date: Sat, 27 Mar 2021 15:31:56 +0800 Message-ID: <20210327073156.1786722-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 myrb.c, so we can marks it static. Signed-off-by: Shixin Liu --- drivers/scsi/myrb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/myrb.c b/drivers/scsi/myrb.c index d469a4889777..56767f8610d4 100644 --- a/drivers/scsi/myrb.c +++ b/drivers/scsi/myrb.c @@ -2809,7 +2809,7 @@ static irqreturn_t DAC960_LA_intr_handler(int irq, void *arg) return IRQ_HANDLED; } -struct myrb_privdata DAC960_LA_privdata = { +static struct myrb_privdata DAC960_LA_privdata = { .hw_init = DAC960_LA_hw_init, .irq_handler = DAC960_LA_intr_handler, .mmio_size = DAC960_LA_mmio_size, @@ -3085,7 +3085,7 @@ static irqreturn_t DAC960_PG_intr_handler(int irq, void *arg) return IRQ_HANDLED; } -struct myrb_privdata DAC960_PG_privdata = { +static struct myrb_privdata DAC960_PG_privdata = { .hw_init = DAC960_PG_hw_init, .irq_handler = DAC960_PG_intr_handler, .mmio_size = DAC960_PG_mmio_size, @@ -3288,7 +3288,7 @@ static irqreturn_t DAC960_PD_intr_handler(int irq, void *arg) return IRQ_HANDLED; } -struct myrb_privdata DAC960_PD_privdata = { +static struct myrb_privdata DAC960_PD_privdata = { .hw_init = DAC960_PD_hw_init, .irq_handler = DAC960_PD_intr_handler, .mmio_size = DAC960_PD_mmio_size, @@ -3486,7 +3486,7 @@ static irqreturn_t DAC960_P_intr_handler(int irq, void *arg) return IRQ_HANDLED; } -struct myrb_privdata DAC960_P_privdata = { +static struct myrb_privdata DAC960_P_privdata = { .hw_init = DAC960_P_hw_init, .irq_handler = DAC960_P_intr_handler, .mmio_size = DAC960_PD_mmio_size, -- 2.25.1