summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-bcm2835aux.c
diff options
context:
space:
mode:
authorkbuild test robot <lkp@intel.com>2019-04-03 21:16:51 +0300
committerMark Brown <broonie@kernel.org>2019-04-04 09:00:20 +0300
commit1a8fa5166ec53927e2c978bce9a107c9f8d5bf60 (patch)
tree44888db55ae50a48379b2b7c40a10761454c193c /drivers/spi/spi-bcm2835aux.c
parent8048d151eb4d74d5c533dbe10a846ea0b7495c6b (diff)
downloadlinux-1a8fa5166ec53927e2c978bce9a107c9f8d5bf60.tar.xz
spi: bcm2835aux: polling_limit_us can be static
Fixes: 5fd917afc4bf ("spi: bcm2835aux: make the polling duration limits configurable") Signed-off-by: kbuild test robot <lkp@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-bcm2835aux.c')
-rw-r--r--drivers/spi/spi-bcm2835aux.c2
1 files changed, 1 insertions, 1 deletions
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 <linux/spinlock.h>
/* 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");