mirror of https://gitee.com/openkylin/linux.git
ed038e7e68
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 21656 1024 96 22776 58f8 isdn/hardware/mISDN/hfcpci.o File size After adding 'const': text data bss dec hex filename 22424 256 96 22776 58f8 isdn/hardware/mISDN/hfcpci.o Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
avmfritz.c | ||
hfc_multi.h | ||
hfc_multi_8xx.h | ||
hfc_pci.h | ||
hfcmulti.c | ||
hfcpci.c | ||
hfcsusb.c | ||
hfcsusb.h | ||
iohelper.h | ||
ipac.h | ||
isar.h | ||
mISDNinfineon.c | ||
mISDNipac.c | ||
mISDNisar.c | ||
netjet.c | ||
netjet.h | ||
speedfax.c | ||
w6692.c | ||
w6692.h |