From: kbuild test robot Date: Wed, 3 Apr 2019 18:16:51 +0000 (+0800) Subject: spi: bcm2835aux: polling_limit_us can be static X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1a8fa5166ec53927e2c978bce9a107c9f8d5bf60;p=openwrt%2Fstaging%2Fblogic.git spi: bcm2835aux: polling_limit_us can be static Fixes: 5fd917afc4bf ("spi: bcm2835aux: make the polling duration limits configurable") Signed-off-by: kbuild test robot Signed-off-by: Mark Brown --- diff --git a/drivers/spi/spi-bcm2835aux.c b/drivers/spi/spi-bcm2835aux.c index 1a11b9131556..fd8252dce4a2 100644 --- a/drivers/spi/spi-bcm2835aux.c +++ b/drivers/spi/spi-bcm2835aux.c @@ -38,7 +38,7 @@ #include /* define polling limits */ -unsigned int polling_limit_us = 30; +static unsigned int polling_limit_us = 30; module_param(polling_limit_us, uint, 0664); MODULE_PARM_DESC(polling_limit_us, "time in us to run a transfer in polling mode - if zero no polling is used\n");