Commit 5b1ebbff authored by Vincenzo Scotti's avatar Vincenzo Scotti Committed by Greg Kroah-Hartman

staging: emxx_udc: fix compile warnings: discarding const qualifier

Signed-off-by: default avatarVincenzo Scotti <vinc94@gmail.com>
Reported-by: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f02935c5
...@@ -3235,7 +3235,7 @@ static const char g_epb_name[] = "epb-bulk"; ...@@ -3235,7 +3235,7 @@ static const char g_epb_name[] = "epb-bulk";
static const char g_epc_name[] = "epc-nulk"; static const char g_epc_name[] = "epc-nulk";
static const char g_epd_name[] = "epdin-int"; 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_ep0_name,
g_ep1_name, g_ep1_name,
g_ep2_name, g_ep2_name,
...@@ -3256,7 +3256,7 @@ static char *gp_ep_name[NUM_ENDPOINTS] = { ...@@ -3256,7 +3256,7 @@ static char *gp_ep_name[NUM_ENDPOINTS] = {
static void __init nbu2ss_drv_set_ep_info( static void __init nbu2ss_drv_set_ep_info(
struct nbu2ss_udc *udc, struct nbu2ss_udc *udc,
struct nbu2ss_ep *ep, struct nbu2ss_ep *ep,
u8 *name) const char *name)
{ {
ep->udc = udc; ep->udc = udc;
ep->desc = NULL; ep->desc = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment