diff options
author | Vincenzo Scotti <vinc94@gmail.com> | 2014-09-13 11:39:20 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-19 23:10:40 (GMT) |
commit | 5b1ebbffc0b2dd47a45380ba68da36f792a2977e (patch) | |
tree | e8cbc60024cb149b632d3f98de6d005c03f1ddad /drivers | |
parent | f02935c575cb00f2a164282866324816a1f52fc1 (diff) | |
download | linux-5b1ebbffc0b2dd47a45380ba68da36f792a2977e.tar.xz |
staging: emxx_udc: fix compile warnings: discarding const qualifier
Signed-off-by: Vincenzo Scotti <vinc94@gmail.com>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/emxx_udc/emxx_udc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c index ca443b4..5c2a19a 100644 --- a/drivers/staging/emxx_udc/emxx_udc.c +++ b/drivers/staging/emxx_udc/emxx_udc.c @@ -3235,7 +3235,7 @@ static const char g_epb_name[] = "epb-bulk"; static const char g_epc_name[] = "epc-nulk"; static const char g_epd_name[] = "epdin-int"; -static char *gp_ep_name[NUM_ENDPOINTS] = { +static const char *gp_ep_name[NUM_ENDPOINTS] = { g_ep0_name, g_ep1_name, g_ep2_name, @@ -3256,7 +3256,7 @@ static char *gp_ep_name[NUM_ENDPOINTS] = { static void __init nbu2ss_drv_set_ep_info( struct nbu2ss_udc *udc, struct nbu2ss_ep *ep, - u8 *name) + const char *name) { ep->udc = udc; ep->desc = NULL; |