[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201116073506.GK7499@vkoul-mobl>
Date: Mon, 16 Nov 2020 13:05:06 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Rikard Falkeborn <rikard.falkeborn@...il.com>
Cc: Kishon Vijay Abraham I <kishon@...com>, JC Kuo <jckuo@...dia.com>,
Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>,
linux-kernel@...r.kernel.org, linux-tegra@...r.kernel.org
Subject: Re: [PATCH] phy: tegra: Constify static device_type structs
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
Powered by blists - more mailing lists