summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-30 18:20:12 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-31 18:08:46 +0200
commit06e74935c77e8605d7d825cd3762cad2c70578ed (patch)
tree5fccef4cb8305d32fe9d5ad473801774fa23ee78
parentb491f61ecb9668c9fd8d519cf25e8c46a30fb906 (diff)
downloadtalos-obmc-linux-06e74935c77e8605d7d825cd3762cad2c70578ed.tar.gz
talos-obmc-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>
-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),
OpenPOWER on IntegriCloud