From: Bhumika Goyal Date: Wed, 30 Aug 2017 12:50:12 +0000 (+0530) Subject: usb: imx21-hcd: make imx21_hc_driver const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=06e74935c77e8605d7d825cd3762cad2c70578ed;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git usb: imx21-hcd: make imx21_hc_driver const Make this const as it is not modified anywhere. Signed-off-by: Bhumika Goyal Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/imx21-hcd.c b/drivers/usb/host/imx21-hcd.c index e25d72e0527f..39ae7fb64b6f 100644 --- a/drivers/usb/host/imx21-hcd.c +++ b/drivers/usb/host/imx21-hcd.c @@ -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),