lkml.org 
[lkml]   [2020]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] clk: bcm2835: Constify struct debugfs_reg32
From
Date
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@gmail.com>
> ---

Applied to clk-next

\
 
 \ /
  Last update: 2020-05-27 09:10    [W:0.032 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site