Re: [PATCH] x86/pci/intel_mid_pci: make intel_mid_pci_ops const and __initconst

2017-09-19 Thread Bjorn Helgaas
On Mon, Sep 18, 2017 at 09:54:55PM +0530, Bhumika Goyal wrote: > 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

Re: [PATCH] x86/pci/intel_mid_pci: make intel_mid_pci_ops const and __initconst

2017-09-19 Thread Bjorn Helgaas
On Mon, Sep 18, 2017 at 09:54:55PM +0530, Bhumika Goyal wrote: > 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 I applied

[PATCH] x86/pci/intel_mid_pci: make intel_mid_pci_ops const and __initconst

2017-09-18 Thread Bhumika Goyal
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 --- arch/x86/pci/intel_mid_pci.c | 2 +- 1 file changed, 1

[PATCH] x86/pci/intel_mid_pci: make intel_mid_pci_ops const and __initconst

2017-09-18 Thread Bhumika Goyal
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 --- arch/x86/pci/intel_mid_pci.c | 2 +- 1 file changed, 1 insertion(+), 1