[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <160016171046.325179.3123778161718568231.b4-ty@bootlin.com>
Date: Tue, 15 Sep 2020 11:21:58 +0200
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: Rikard Falkeborn <rikard.falkeborn@...il.com>,
Alessandro Zummo <a.zummo@...ertech.it>
Cc: Alexandre Belloni <alexandre.belloni@...tlin.com>,
linux-rtc@...r.kernel.org, linux-kernel@...r.kernel.org,
Patrice Chotard <patrice.chotard@...com>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] rtc: st-lpc: Constify st_rtc_ops
On Sun, 13 Sep 2020 14:26:44 +0200, Rikard Falkeborn wrote:
> The only usage of st_rtc_ops is to assign its address to the ops field
> in the rtc_device struct. which is a const pointer. Make it const to
> allow the compiler to put it in read-only memory.
Applied, thanks!
[1/1] rtc: st-lpc: Constify st_rtc_ops
commit: d0a3b65052f041852c855ea1135659770ba0bc09
Best regards,
--
Alexandre Belloni <alexandre.belloni@...tlin.com>
Powered by blists - more mailing lists