diff options
| author | Arvind Yadav <[email protected]> | 2017-07-15 09:55:50 +0530 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-07-15 21:25:56 -0700 |
| commit | ed038e7e68ca8fc92b5cb877cd44d930ef98c52a (patch) | |
| tree | 1eae93797be73fe1f2e2b2c429e7454eb303277e /net/lapb | |
| parent | 1d9c8fa013cdea5d864f5332d0e203312de3a93d (diff) | |
isdn: mISDN: hfcpci: 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
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions