dmaengine: ioat: constify pci_device_id.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 17 Jul 2017 16:09:00 +0000 (21:39 +0530)
committerVinod Koul <vinod.koul@intel.com>
Tue, 18 Jul 2017 16:02:14 +0000 (21:32 +0530)
commit01fa2fae5a0b0f1c7c7c4afb336fff0278161432
tree71971b9f351215c4106c586873b528b042a0129a
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
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>
drivers/dma/ioat/init.c