Message ID | 20200915132311.1112865-1-mkl@pengutronix.de |
---|---|
State | New |
Headers | show |
Series | spi: bcm2835: mark polling_limit_us as static | expand |
On Tue, Sep 15, 2020 at 03:23:11PM +0200, Marc Kleine-Budde wrote:
> This patch marks the global variable "polling_limit_us" as static.
Thanks but I applied a patch for this yesterday.
On 9/15/20 4:08 PM, Mark Brown wrote: > On Tue, Sep 15, 2020 at 03:23:11PM +0200, Marc Kleine-Budde wrote: >> This patch marks the global variable "polling_limit_us" as static. > > Thanks but I applied a patch for this yesterday. Doh! I rebased to current linus/master, which doesn't contain the patch yet :) Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
On Tue, Sep 15, 2020 at 04:34:41PM +0200, Marc Kleine-Budde wrote: > On 9/15/20 4:08 PM, Mark Brown wrote: > > Thanks but I applied a patch for this yesterday. > Doh! I rebased to current linus/master, which doesn't contain the patch yet :) Oh, the issue affects mainline rather than just -next - I've applied it for -next rather than as a fix, better move it over. Thanks for letting me know!
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");
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(-)