• [PATCH] libata: make ata_port_type const

    From Tejun Heo@21:1/5 to Bhumika Goyal on Mon Oct 2 22:50:07 2017
    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@gmail.com>

    Applied to libata/for-4.15.

    Thanks.

    --
    tejun

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)