Re: [PATCH] PCI: histb: constify dw_pcie_host_ops structure
From: Shawn Guo
Date: Sun Oct 28 2018 - 22:00:29 EST
On Sun, Oct 28, 2018 at 3:06 AM Julia Lawall <Julia.Lawall@xxxxxxx> wrote:
>
> The dw_pcie_host_ops structure is only stored in the ops field
> of a pcie_port structure, and this field is const, so make the
> dw_pcie_host_ops structure const as well.
>
> Done with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@xxxxxxx>
Acked-by: Shawn Guo <shawn.guo@xxxxxxxxxx>