aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/pxa2xx_udc.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/pxa2xx_udc.h')
-rw-r--r--drivers/usb/gadget/pxa2xx_udc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/gadget/pxa2xx_udc.h b/drivers/usb/gadget/pxa2xx_udc.h
index 773e549aff3f..6b012e06af3a 100644
--- a/drivers/usb/gadget/pxa2xx_udc.h
+++ b/drivers/usb/gadget/pxa2xx_udc.h
@@ -204,7 +204,7 @@ static const char *state_name[] = {
204# define UDC_DEBUG DBG_NORMAL 204# define UDC_DEBUG DBG_NORMAL
205#endif 205#endif
206 206
207static void __attribute__ ((__unused__)) 207static void __maybe_unused
208dump_udccr(const char *label) 208dump_udccr(const char *label)
209{ 209{
210 u32 udccr = UDCCR; 210 u32 udccr = UDCCR;
@@ -220,7 +220,7 @@ dump_udccr(const char *label)
220 (udccr & UDCCR_UDE) ? " ude" : ""); 220 (udccr & UDCCR_UDE) ? " ude" : "");
221} 221}
222 222
223static void __attribute__ ((__unused__)) 223static void __maybe_unused
224dump_udccs0(const char *label) 224dump_udccs0(const char *label)
225{ 225{
226 u32 udccs0 = UDCCS0; 226 u32 udccs0 = UDCCS0;
@@ -237,7 +237,7 @@ dump_udccs0(const char *label)
237 (udccs0 & UDCCS0_OPR) ? " opr" : ""); 237 (udccs0 & UDCCS0_OPR) ? " opr" : "");
238} 238}
239 239
240static void __attribute__ ((__unused__)) 240static void __maybe_unused
241dump_state(struct pxa2xx_udc *dev) 241dump_state(struct pxa2xx_udc *dev)
242{ 242{
243 u32 tmp; 243 u32 tmp;