diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-07-17 21:39:00 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-07-18 21:32:14 +0530 |
commit | 01fa2fae5a0b0f1c7c7c4afb336fff0278161432 (patch) | |
tree | 71971b9f351215c4106c586873b528b042a0129a /Documentation/ABI/stable/sysfs-driver-dma-ioatdma | |
parent | 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff) | |
download | op-kernel-dev-01fa2fae5a0b0f1c7c7c4afb336fff0278161432.zip op-kernel-dev-01fa2fae5a0b0f1c7c7c4afb336fff0278161432.tar.gz |
dmaengine: ioat: 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
12582 3056 16 15654 3d26 drivers/dma/ioat/init.o
File size After adding 'const':
text data bss dec hex filename
14773 865 16 15654 3d26 drivers/dma/ioat/init.o
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'Documentation/ABI/stable/sysfs-driver-dma-ioatdma')
0 files changed, 0 insertions, 0 deletions