mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
b5087669eb
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 13285 2080 3 15368 3c08 video/fbdev/riva/fbdev.o File size after adding 'const': text data bss dec hex filename 14677 688 3 15368 3c08 video/fbdev/riva/fbdev.o Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Antonino Daplas <adaplas@gmail.com> Cc: Maik Broemme <mbroemme@libmpq.org> Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> |
||
---|---|---|
.. | ||
fbdev.c | ||
Makefile | ||
nv_driver.c | ||
nv_type.h | ||
nvreg.h | ||
riva_hw.c | ||
riva_hw.h | ||
riva_tbl.h | ||
rivafb-i2c.c | ||
rivafb.h |