[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <159056341376.88029.8430380128281240784@swboyd.mtv.corp.google.com>
Date: Wed, 27 May 2020 00:10:13 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Rikard Falkeborn <rikard.falkeborn@...il.com>, eric@...olt.net,
f.fainelli@...il.com, mturquette@...libre.com,
nsaenzjulienne@...e.de, rjui@...adcom.com, sbranden@...adcom.com,
wahrenst@....net
Cc: bcm-kernel-feedback-list@...adcom.com, linux-clk@...r.kernel.org,
linux-rpi-kernel@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Rikard Falkeborn <rikard.falkeborn@...il.com>
Subject: Re: [PATCH] clk: bcm2835: Constify struct debugfs_reg32
Quoting Rikard Falkeborn (2020-05-08 15:02:38)
> bcm2835_debugfs_clock_reg32 is never changed and can therefore be made
> const.
>
> This allows the compiler to put it in the text section instead of the
> data section.
>
> Before:
> text data bss dec hex filename
> 26598 16088 64 42750 a6fe drivers/clk/bcm/clk-bcm2835.o
>
> After:
> text data bss dec hex filename
> 26662 16024 64 42750 a6fe drivers/clk/bcm/clk-bcm2835.o
>
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@...il.com>
> ---
Applied to clk-next
Powered by blists - more mailing lists