usb: imx21-hcd: make imx21_hc_driver const

Make this const as it is not modified anywhere.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Bhumika Goyal 2017-08-30 18:20:12 +05:30 committed by Greg Kroah-Hartman
parent b491f61ecb
commit 06e74935c7
1 changed files with 1 additions and 1 deletions

View File

@ -1779,7 +1779,7 @@ static void imx21_hc_stop(struct usb_hcd *hcd)
/* Driver glue */
/* =========================================== */
static struct hc_driver imx21_hc_driver = {
static const struct hc_driver imx21_hc_driver = {
.description = hcd_name,
.product_desc = "IMX21 USB Host Controller",
.hcd_priv_size = sizeof(struct imx21),