aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Wunner <lukas@wunner.de>2016-12-12 10:45:47 -0500
committerBjorn Helgaas <bhelgaas@google.com>2016-12-12 10:45:47 -0500
commitc931225480aeabc6f867f2c1dea3738b3e1622a4 (patch)
tree19b39a0a3904dfff6a2f7a85301112b58eb3d25a
parent68db9bc814362e7f24371c27d12a4f34477d9356 (diff)
x86/platform/intel-mid: Constify mid_pci_platform_pm
This struct never needs to be modified. The size of pci-mid.o ELF sections changes thusly: -.data 56 +.data 0 -.rodata 32 +.rodata 88 Signed-off-by: Lukas Wunner <lukas@wunner.de> Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r--drivers/pci/pci-mid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci-mid.c b/drivers/pci/pci-mid.c
index 55f453de562e..23ed7316c891 100644
--- a/drivers/pci/pci-mid.c
+++ b/drivers/pci/pci-mid.c
@@ -49,7 +49,7 @@ static bool mid_pci_need_resume(struct pci_dev *dev)
49 return false; 49 return false;
50} 50}
51 51
52static struct pci_platform_pm_ops mid_pci_platform_pm = { 52static const struct pci_platform_pm_ops mid_pci_platform_pm = {
53 .is_manageable = mid_pci_power_manageable, 53 .is_manageable = mid_pci_power_manageable,
54 .set_state = mid_pci_set_power_state, 54 .set_state = mid_pci_set_power_state,
55 .choose_state = mid_pci_choose_state, 55 .choose_state = mid_pci_choose_state,