Skip to content

Commit e756034

Browse files
iwamatsualexandrebelloni
authored andcommitted
rtc: pcf8563: Constify clkout_rates
The lates of clockout should be marked const. Make that so. Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
1 parent 265fc09 commit e756034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/rtc/rtc-pcf8563.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ static int pcf8563_irq_enable(struct device *dev, unsigned int enabled)
390390

391391
#define clkout_hw_to_pcf8563(_hw) container_of(_hw, struct pcf8563, clkout_hw)
392392

393-
static int clkout_rates[] = {
393+
static const int clkout_rates[] = {
394394
32768,
395395
1024,
396396
32,

0 commit comments

Comments
 (0)