mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 16:15:11 +00:00
ARM: shmobile: mackerel: Make domain_devices[] static __initdata
Make the domain_devices[] array static and __initdata, to reduce kernel size: - Making it static gets rid of the code to copy the data to the stack, - Marking it __initdata allows more init memory to be freed. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
7d1311b93e
commit
d6dc6ed854
1 changed files with 1 additions and 1 deletions
|
@ -1420,7 +1420,7 @@ static const struct pinctrl_map mackerel_pinctrl_map[] = {
|
||||||
#define USCCR1 IOMEM(0xE6058144)
|
#define USCCR1 IOMEM(0xE6058144)
|
||||||
static void __init mackerel_init(void)
|
static void __init mackerel_init(void)
|
||||||
{
|
{
|
||||||
struct pm_domain_device domain_devices[] = {
|
static struct pm_domain_device domain_devices[] __initdata = {
|
||||||
{ "A4LC", &lcdc_device, },
|
{ "A4LC", &lcdc_device, },
|
||||||
{ "A4LC", &hdmi_lcdc_device, },
|
{ "A4LC", &hdmi_lcdc_device, },
|
||||||
{ "A4LC", &meram_device, },
|
{ "A4LC", &meram_device, },
|
||||||
|
|
Loading…
Reference in a new issue