libata: make ata_port_type const

[ Upstream commit 8df82c13a3756f831b0d748226ce932515728e04 ]

Make this const as it is only stored in the const field of a device
structure. Make the declaration in header const too.

Structure found using Coccinelle and changes done by hand.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Stable-dep-of: 75e2bd5f1ede ("ata: libata-core: Do not register PM operations for SAS ports")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
2 files changed