isdn: hisax: hisax_fcpcipnp: constify pci_device_id.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sat, 15 Jul 2017 04:25:44 +0000 (09:55 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Jul 2017 04:25:56 +0000 (21:25 -0700)
commit6cfc3d86be2647686c8eebe41df69e5cd37dd8e6
treef75fdc8aae2b70a7a3902d88018e7428ca310d14
parent3651003d4fd805c3a7761d1db3a7491d5547afb3
isdn: hisax: hisax_fcpcipnp: 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
   5989     576       0    6565    19a5 isdn/hisax/hisax_fcpcipnp.o

File size After adding 'const':
   text    data     bss     dec     hex filename
   6085     480       0    6565    19a5 isdn/hisax/hisax_fcpcipnp.o

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