summaryrefslogtreecommitdiff
path: root/drivers/usb/host/imx21-hcd.c
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-30 15:50:12 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-31 19:08:46 +0300
commit06e74935c77e8605d7d825cd3762cad2c70578ed (patch)
tree5fccef4cb8305d32fe9d5ad473801774fa23ee78 /drivers/usb/host/imx21-hcd.c
parentb491f61ecb9668c9fd8d519cf25e8c46a30fb906 (diff)
downloadlinux-06e74935c77e8605d7d825cd3762cad2c70578ed.tar.xz
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/host/imx21-hcd.c')
-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),