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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Aug 2017 18:31:28 +0000 (11:31 -0700)
commit4b67a54a62ae4188710f861c7e4829e2e8767038
tree35cfab15bf75aaae4b9de0d811b6b40e6d03723f
parentd2032b4b6e89b5a1b994b6cb40d2fb1c9bfbb9f9
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.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/fsl_qe_udc.c