diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2020-04-04 01:59:58 +0200 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2020-04-08 09:36:43 +0800 |
commit | fc228ef6397de633703ac671e6eb020913de6918 (patch) | |
tree | 3bea3f3094bd1dde0dc10e204407ecb1847599ab /drivers/usb | |
parent | 86b17c7f14ed1a442246a332c90df0e81003a2d3 (diff) | |
download | linux-fc228ef6397de633703ac671e6eb020913de6918.tar.gz linux-fc228ef6397de633703ac671e6eb020913de6918.tar.bz2 linux-fc228ef6397de633703ac671e6eb020913de6918.zip |
usb: chipidea: usb2: constify zynq_pdata
pdata is copied anyway to allow setting device name.
Make the source const.
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/chipidea/ci_hdrc_usb2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/ci_hdrc_usb2.c b/drivers/usb/chipidea/ci_hdrc_usb2.c index c044fba463e4..62cf8a99cf78 100644 --- a/drivers/usb/chipidea/ci_hdrc_usb2.c +++ b/drivers/usb/chipidea/ci_hdrc_usb2.c @@ -28,7 +28,7 @@ static const struct ci_hdrc_platform_data ci_default_pdata = { .flags = CI_HDRC_DISABLE_STREAMING, }; -static struct ci_hdrc_platform_data ci_zynq_pdata = { +static const struct ci_hdrc_platform_data ci_zynq_pdata = { .capoffset = DEF_CAPOFFSET, }; |