Re: [PATCH] phy: tegra: Constify static device_type structs

From: Vinod Koul
Date: Mon Nov 16 2020 - 02:35:33 EST


On 09-11-20, 22:58, Rikard Falkeborn wrote:
> The only usage of tegra_xusb_pad_type and tegra_xusb_port_type is to
> assign their address to the type field in the device struct, which is a
> const pointer. Make them const to allow the compiler to put them in
> read-only memory.

Applied, thanks

--
~Vinod