Re: [PATCH 08/11] net: cadence: macb: constify pci_device_id.

2017-07-17 Thread David Miller
From: Arvind Yadav Date: Mon, 17 Jul 2017 23:41:52 +0530 > pci_device_id are not supposed to change at runtime. All functions > working with pci_device_id provided by work with > const pci_device_id. So mark the non-const structs as const. > > File size before: >text data bss

[PATCH 08/11] net: cadence: macb: constify pci_device_id.

2017-07-17 Thread Arvind Yadav
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by work with const pci_device_id. So mark the non-const structs as const. File size before: textdata bss dec hex filename 791 336 01127 467 net/ethernet/