summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarmeli Tamir <carmeli.tamir@gmail.com>2018-11-07 15:44:22 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-08 03:59:47 -0800
commit3f9da94dc8d79a63c7b5a0cea6a650ac8b98d880 (patch)
tree5d758fdd0a9ca7a8e3b6b2616038fca9c2137f17
parent2159fb3729293c7919ed13ccad72c8072c2f39b5 (diff)
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 <carmeli.tamir@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/emxx_udc/emxx_udc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c
index 65cc3d9af972..f49c863043d5 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 */