summaryrefslogtreecommitdiffstats
path: root/include/media/videobuf-dma-contig.h
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-07-11 14:57:07 +0530
committerBjorn Helgaas <bhelgaas@google.com>2017-08-10 15:21:40 -0500
commite7ea9825fa18eccaa25142bf574cfef769d225ed (patch)
tree7185a2e9d341681b6e0d3d52df379d949a1ad092 /include/media/videobuf-dma-contig.h
parent16f73eb02d7e1765ccab3d2018e0bd98eb93d973 (diff)
downloadtalos-obmc-linux-e7ea9825fa18eccaa25142bf574cfef769d225ed.tar.gz
talos-obmc-linux-e7ea9825fa18eccaa25142bf574cfef769d225ed.zip
PCI: Constify sysfs attribute_group structures
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by <linux/sysfs.h> work with const attribute_group. So mark the non-const structs as const. File size before: text data bss dec hex filename 8480 2024 4 10508 290c drivers/pci/pci-sysfs.o File size After adding 'const': text data bss dec hex filename 8736 1768 4 10508 290c drivers/pci/pci-sysfs.o Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/media/videobuf-dma-contig.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud