]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
usb: imx21-hcd: make imx21_hc_driver const
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 30 Aug 2017 12:50:12 +0000 (18:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Aug 2017 16:08:46 +0000 (18:08 +0200)
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>
drivers/usb/host/imx21-hcd.c

index e25d72e0527fab6d780441d1cb21f757df775d59..39ae7fb64b6feb9cf5d65dbff17042513d98758e 100644 (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),