summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/imsttfb.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-08-01 18:20:43 +0300
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2017-08-01 18:20:43 +0300
commit7c2ab2ae510e3d9ea32757aeb649dbc90ef6e053 (patch)
tree3e34472afcdc01547f59bf8ce3ddbec5db74b8da /drivers/video/fbdev/imsttfb.c
parent410bcc7a5800d116168571e5aeb7f4c77dd3c31e (diff)
downloadlinux-7c2ab2ae510e3d9ea32757aeb649dbc90ef6e053.tar.xz
video: fbdev: sunxvr500: 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 170 488 0 658 292 drivers/video/fbdev/sunxvr500.o File size after adding 'const': text data bss dec hex filename 394 264 0 658 292 drivers/video/fbdev/sunxvr500.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>
Diffstat (limited to 'drivers/video/fbdev/imsttfb.c')
0 files changed, 0 insertions, 0 deletions