diff options
author | Doug Wilson <doug.lkml@gmail.com> | 2017-08-08 16:50:16 +0530 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-08-09 13:09:50 +0300 |
commit | 8bcd9889721fea82e4de370b0d87e09950efb183 (patch) | |
tree | 5d79cd289955ffd2e304bf8c1a86d1bad82d7bae /drivers/usb/dwc3 | |
parent | 8e374f0add2dc153d270757a71de45a0ba7d7004 (diff) | |
download | blackbird-obmc-linux-8bcd9889721fea82e4de370b0d87e09950efb183.tar.gz blackbird-obmc-linux-8bcd9889721fea82e4de370b0d87e09950efb183.zip |
usb: dwc3: pci: constify dev_pm_ops
dev_pm_ops is not supposed to change at runtime. Marking it constant.
Signed-off-by: Doug Wilson <doug.wilson@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r-- | drivers/usb/dwc3/dwc3-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c index 7e995df7a797..54343fbd85ee 100644 --- a/drivers/usb/dwc3/dwc3-pci.c +++ b/drivers/usb/dwc3/dwc3-pci.c @@ -345,7 +345,7 @@ static int dwc3_pci_resume(struct device *dev) } #endif /* CONFIG_PM_SLEEP */ -static struct dev_pm_ops dwc3_pci_dev_pm_ops = { +static const struct dev_pm_ops dwc3_pci_dev_pm_ops = { SET_SYSTEM_SLEEP_PM_OPS(dwc3_pci_suspend, dwc3_pci_resume) SET_RUNTIME_PM_OPS(dwc3_pci_runtime_suspend, dwc3_pci_runtime_resume, NULL) |