OSDN Git Service

ata_piix: constify pci_bits
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 3 Jan 2018 05:13:34 +0000 (10:43 +0530)
committerTejun Heo <tj@kernel.org>
Mon, 8 Jan 2018 14:15:41 +0000 (06:15 -0800)
commit494fd076ea7bde10142ad427d7ce9c32b238b6db
tree803860a11868609cac566fa46ee8fca912158e44
parente47ecd4e48030c516e7521403f98903ea1c8f9a7
ata_piix: constify pci_bits

pci_bits are not supposed to change at runtime. Functions
pci_test_config_bits() working with const 'struct pci_bits'.
So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ata_piix.c