]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c8a0c9f38ed3978cc9e4751cc392a5c9fda5b61
tree5e6170c779f50133b5e5a79c6b582dfb554ce59b
parent1d5f62e3fa44c5caf36d9334d68fb09a223b810f
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