Content-Type: multipart/mixed; boundary="===============4555772094696401637==" MIME-Version: 1.0 From: Krzysztof Kozlowski To: kbuild-all@lists.01.org Subject: [PATCH 1/2] dmaengine: ppc4xx: make ppc440spe_adma_chan_list static Date: Mon, 19 Oct 2020 17:57:55 +0200 Message-ID: <20201019155756.21445-1-krzk@kernel.org> List-Id: --===============4555772094696401637== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable The ppc440spe_adma_chan_list file-scope variable is not used outside of the unit so it can be made static. Reported-by: kernel test robot Signed-off-by: Krzysztof Kozlowski --- drivers/dma/ppc4xx/adma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/ppc4xx/adma.c b/drivers/dma/ppc4xx/adma.c index 71cdaaa8134c..fea598550582 100644 --- a/drivers/dma/ppc4xx/adma.c +++ b/drivers/dma/ppc4xx/adma.c @@ -69,7 +69,7 @@ struct ppc_dma_chan_ref { }; = /* The list of channels exported by ppc440spe ADMA */ -struct list_head +static struct list_head ppc440spe_adma_chan_list =3D LIST_HEAD_INIT(ppc440spe_adma_chan_list); = /* This flag is set when want to refetch the xor chain in the interrupt -- = 2.25.1 --===============4555772094696401637==--