usb: gadget: fsl_qe_udc: constify qe_ep0_desc
authorJulia Lawall <Julia.Lawall@lip6.fr>
Wed, 2 Aug 2017 15:29:27 +0000 (17:29 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 15 Aug 2017 09:46:02 +0000 (12:46 +0300)
commit89c996820629a36553b5dbb975f4f47597951d8a
treefb26503915ee38d2617627f3b23146bc379a3b9a
parentb744a2e00367a477e9c4a3e8293ab3e1c29d302e
usb: gadget: fsl_qe_udc: constify qe_ep0_desc

qe_ep0_desc is only passed as the second argument to qe_ep_init, which is
const, so qe_ep0_desc can be const too.

Done with the help of Coccinelle.

Acked-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/fsl_qe_udc.c