From: Carmeli Tamir Date: Wed, 7 Nov 2018 20:44:22 +0000 (-0500) Subject: staging: emxx_udc: Added static modifier to udc_controller X-Git-Tag: v5.0-rc1~97^2~341 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3f9da94dc8d79a63c7b5a0cea6a650ac8b98d880;p=thirdparty%2Flinux.git staging: emxx_udc: Added static modifier to udc_controller Added static modifier to the udc_controller, since it's only required within emxx_udc.c. Signed-off-by: Carmeli Tamir Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c index 65cc3d9af972f..f49c863043d5b 100644 --- a/drivers/staging/emxx_udc/emxx_udc.c +++ b/drivers/staging/emxx_udc/emxx_udc.c @@ -56,7 +56,7 @@ static void _nbu2ss_fifo_flush(struct nbu2ss_udc *, struct nbu2ss_ep *); /*===========================================================================*/ /* Global */ -struct nbu2ss_udc udc_controller; +static struct nbu2ss_udc udc_controller; /*-------------------------------------------------------------------------*/ /* Read */