Re: [PATCH] PCI: xilinx: make of_device_ids const.

2017-07-02 Thread Bjorn Helgaas
On Tue, Jun 20, 2017 at 11:17:48AM +0530, Arvind Yadav wrote: > of_device_ids are not supposed to change at runtime. All functions > working with of_device_ids provided by work with const > of_device_ids. So mark the non-const structs as const. > > File size before: >text data

Re: [PATCH] PCI: xilinx: make of_device_ids const.

2017-07-02 Thread Bjorn Helgaas
On Tue, Jun 20, 2017 at 11:17:48AM +0530, Arvind Yadav wrote: > of_device_ids are not supposed to change at runtime. All functions > working with of_device_ids provided by work with const > of_device_ids. So mark the non-const structs as const. > > File size before: >text data

[PATCH] PCI: xilinx: make of_device_ids const.

2017-06-19 Thread Arvind Yadav
of_device_ids are not supposed to change at runtime. All functions working with of_device_ids provided by work with const of_device_ids. So mark the non-const structs as const. File size before: textdata bss dec hex filename 195 600 0 795 31b

[PATCH] PCI: xilinx: make of_device_ids const.

2017-06-19 Thread Arvind Yadav
of_device_ids are not supposed to change at runtime. All functions working with of_device_ids provided by work with const of_device_ids. So mark the non-const structs as const. File size before: textdata bss dec hex filename 195 600 0 795 31b