1
0
Fork 0
alistair23-linux/drivers/isdn/hardware
Arvind Yadav 65f9641736 isdn: avm: c4: 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
  11803	    544	      1	  12348	   303c	isdn/hardware/avm/c4.o

File size After adding 'const':
   text	   data	    bss	    dec	    hex	filename
  11931	    416	      1	  12348	   303c	isdn/hardware/avm/c4.o

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-15 21:25:56 -07:00
..
avm isdn: avm: c4: constify pci_device_id. 2017-07-15 21:25:56 -07:00
eicon isdn: eicon: constify pci_device_id. 2017-07-15 21:25:56 -07:00
mISDN isdn: mISDN: hfcpci: constify pci_device_id. 2017-07-15 21:25:56 -07:00
Kconfig Use menuconfig objects: ISDN: CONFIG_ISDN_CAPI 2007-07-17 10:23:05 -07:00
Makefile Add mISDN driver 2008-07-27 01:46:33 +02:00