ata: declare ata_port_info structures as const
commitf356b08205f6668248960093faf9326c7852a38d
authorBhumika Goyal <bhumirks@gmail.com>
Fri, 9 Jun 2017 11:45:08 +0000 (9 17:15 +0530)
committerTejun Heo <tj@kernel.org>
Mon, 12 Jun 2017 18:06:34 +0000 (12 14:06 -0400)
tree9178fc6558795faa5b0919490988e02dfcdb4986
parentbe4e456ed3a5918f4e75f532837bb19128a690c9
ata: declare ata_port_info structures as const

ata_port_info structures are either copied to other objects or their
references are stored in objects of type const. So, ata_port_info
structures having similar usage pattern can be made const.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/pata_rdc.c
drivers/ata/pata_sch.c
drivers/ata/sata_inic162x.c
drivers/ata/sata_via.c