Arvind Yadav
97ae5c2aa4
atm: idt77252: 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
27702 468 16 28186 6e1a drivers/atm/idt77252.o
File size After adding 'const':
text data bss dec hex filename
27766 404 16 28186 6e1a drivers/atm/idt77252.o
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-16 16:38:02 -07:00
..
.gitignore
adummy.c
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
ambassador.c
atm: ambassador: constify pci_device_id.
2017-07-16 16:38:02 -07:00
ambassador.h
atmtcp.c
networking: make skb_put & friends return void pointers
2017-06-16 11:48:39 -04:00
eni.c
atm: eni: constify pci_device_id.
2017-07-16 16:38:02 -07:00
eni.h
firestream.c
atm: firestream: constify pci_device_id.
2017-07-16 16:38:02 -07:00
firestream.h
fore200e.c
atm: fore200e: constify pci_device_id.
2017-07-16 16:38:02 -07:00
fore200e.h
he.c
atm: he: constify pci_device_id.
2017-07-16 16:38:02 -07:00
he.h
horizon.c
atm: horizon: constify pci_device_id.
2017-07-16 16:38:02 -07:00
horizon.h
idt77105.c
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
idt77105.h
idt77252.c
atm: idt77252: constify pci_device_id.
2017-07-16 16:38:02 -07:00
idt77252.h
idt77252_tables.h
iphase.c
atm: iphase: constify pci_device_id.
2017-07-16 16:38:02 -07:00
iphase.h
scripts/spelling.txt: add "followings" pattern and fix typo instances
2017-02-27 18:43:47 -08:00
Kconfig
lanai.c
atm: lanai: constify pci_device_id.
2017-07-16 16:38:02 -07:00
Makefile
midway.h
drivers: atm: eni: rename macro DAUGTHER_ID to fix spelling mistake
2016-12-29 12:07:01 -05:00
nicstar.c
atm: nicstar: constify pci_device_id.
2017-07-16 16:38:02 -07:00
nicstar.h
nicstarmac.c
nicstarmac.copyright
solos-attrlist.c
solos-pci.c
atm: solos-pci: constify pci_device_id.
2017-07-16 16:38:02 -07:00
suni.c
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
suni.h
tonga.h
uPD98401.h
uPD98402.c
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
2016-12-24 11:46:01 -08:00
uPD98402.h
zatm.c
atm: zatm: constify pci_device_id.
2017-07-16 16:38:02 -07:00
zatm.h
zeprom.h