diff options
| author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-07-23 13:01:07 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-30 17:35:28 +0300 |
| commit | 3637c46032515fe975f652d315ccd2076026c522 (patch) | |
| tree | a1376c1a3992b59a05a26d96496dcc9a4838ae4f /include/linux/processor.h | |
| parent | 50bd842b32b4ef57fdf5381b428d1b5605f429ea (diff) | |
| download | linux-3637c46032515fe975f652d315ccd2076026c522.tar.xz | |
tty: serial: exar: 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
4030 1280 0 5310 14be tty/serial/8250/8250_exar.o
File size After adding 'const':
text data bss dec hex filename
4958 352 0 5310 14be tty/serial/8250/8250_exar.o
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/processor.h')
0 files changed, 0 insertions, 0 deletions
