spi: bcm2835aux: polling_limit_us can be static
authorkbuild test robot <lkp@intel.com>
Wed, 3 Apr 2019 18:16:51 +0000 (02:16 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 4 Apr 2019 06:00:20 +0000 (13:00 +0700)
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>
drivers/spi/spi-bcm2835aux.c

index 1a11b9131556d3b949350a7c13ac3e8de547893e..fd8252dce4a2f2aa92c0a7adb5e32c79adf309fe 100644 (file)
@@ -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");