Skip to contentSkip to conversation

staging: emxx_udc: Added static modifier to udc_controller

PATCH In review Carmeli Tamir 2 participants 2 messages Nov 1, 2018 – Nov 7, 2018 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 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.
Previously posted without any feedback, now updated according to master.

---
 drivers/staging/emxx_udc/emxx_udc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/emxx_udc/emxx_udc.c +1 -1
index 3e51476..94a4327 100644
@@ -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 */
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 8 lines · Carmeli Tamir

Added static modifier to the udc_controller, since it's only required within emxx_udc.c.
Previously posted without any feedback, now updated according to master.

---
 drivers/staging/emxx_udc/emxx_udc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

I do not see patch 3/3 in this series.

Can you resend the whole series, properly threaded, so that I know what to apply? I think you send this one already and I have no idea what to do here, sorry.

greg k-h