linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] spi: bcm2835: mark polling_limit_us as static
@ 2020-09-15 13:23 Marc Kleine-Budde
  2020-09-15 14:08 ` Mark Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Marc Kleine-Budde @ 2020-09-15 13:23 UTC (permalink / raw)
  To: Mark Brown
  Cc: Nicolas Saenz Julienne, Florian Fainelli, Ray Jui, Scott Branden,
	bcm-kernel-feedback-list, linux-spi, linux-rpi-kernel,
	linux-arm-kernel, kernel, Marc Kleine-Budde

This patch marks the global variable "polling_limit_us" as static.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
 drivers/spi/spi-bcm2835.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/spi-bcm2835.c b/drivers/spi/spi-bcm2835.c
index c45d76c848c8..41986ac0fbfb 100644
--- a/drivers/spi/spi-bcm2835.c
+++ b/drivers/spi/spi-bcm2835.c
@@ -75,7 +75,7 @@
 #define DRV_NAME	"spi-bcm2835"
 
 /* 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\n");
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-09-16  0:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-15 13:23 [PATCH] spi: bcm2835: mark polling_limit_us as static Marc Kleine-Budde
2020-09-15 14:08 ` Mark Brown
2020-09-15 14:34   ` Marc Kleine-Budde
2020-09-15 15:48     ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).