Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

kbuild test robot and committed by
Mark Brown
1a8fa516 8048d151

+1 -1
+1 -1
drivers/spi/spi-bcm2835aux.c
··· 38 38 #include <linux/spinlock.h> 39 39 40 40 /* define polling limits */ 41 - unsigned int polling_limit_us = 30; 41 + static unsigned int polling_limit_us = 30; 42 42 module_param(polling_limit_us, uint, 0664); 43 43 MODULE_PARM_DESC(polling_limit_us, 44 44 "time in us to run a transfer in polling mode - if zero no polling is used\n");