atm: he: constify pci_device_id.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sun, 16 Jul 2017 09:32:33 +0000 (15:02 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Jul 2017 23:38:02 +0000 (16:38 -0700)
commit5c007845029d1e03df765f8fb2af0a0b8f5126b9
tree1c340714c0ba6e63dbd8def69e3cea3f9b8c5cbd
parent2f3e2604fb579e34f775c799eba2afdfcb97fd66
atm: he: constify pci_device_id.

pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by <linux/pci.h> work with
const pci_device_id. So mark the non-const structs as const.

File size before:
   text    data     bss     dec     hex filename
  26514     440      48   27002    697a drivers/atm/he.o

File size After adding 'const':
   text    data     bss     dec     hex filename
  26578     376      48   27002    697a drivers/atm/he.o

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/he.c