x86/pci/intel_mid_pci: Constify intel_mid_pci_ops and make it __initconst
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 18 Sep 2017 16:24:55 +0000 (21:54 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 5 Oct 2017 20:53:31 +0000 (15:53 -0500)
commit4113b0e60bf188c8a557c22f64294aa9c6019074
tree5e6170c779f50133b5e5a79c6b582dfb554ce59b
parent69f2dc24ff32ae61291dc63525d70c06ac9d8ba3
x86/pci/intel_mid_pci: Constify intel_mid_pci_ops and make it __initconst

Make this const as it is only used during a copy operation.  This usage is
inside init function and the structure is not referenced after
initialisation, so make it __initconst too.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/x86/pci/intel_mid_pci.c