Re: [PATCH] libata: make ata_port_type const

From: Tejun Heo
Date: Mon Oct 02 2017 - 12:57:10 EST


On Sat, Sep 30, 2017 at 10:10:40PM +0530, Bhumika Goyal wrote:
> 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@xxxxxxxxx>

Applied to libata/for-4.15.

Thanks.

--
tejun