summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorBhumika Goyal2017-08-30 14:50:12 +0200
committerGreg Kroah-Hartman2017-08-31 18:08:46 +0200
commit06e74935c77e8605d7d825cd3762cad2c70578ed (patch)
tree5fccef4cb8305d32fe9d5ad473801774fa23ee78 /drivers/usb
parentusb: host: make ehci_fsl_overrides const and __initconst (diff)
downloadkernel-qcow2-linux-06e74935c77e8605d7d825cd3762cad2c70578ed.tar.gz
kernel-qcow2-linux-06e74935c77e8605d7d825cd3762cad2c70578ed.tar.xz
kernel-qcow2-linux-06e74935c77e8605d7d825cd3762cad2c70578ed.zip
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/imx21-hcd.c2
1 files changed, 1 insertions, 1 deletions
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),