Skip to content
Unverified Commit 23f8adc4 authored by Rafał Miłecki's avatar Rafał Miłecki Committed by James Hogan
Browse files

MIPS: BCM47XX: Use __initdata for the bcm47xx_leds_pdata



This struct variable is used during init only. It gets passed to the
gpio_led_register_device() which creates its own data copy. That allows
using __initdata and saving some minimal amount of memory.

Signed-off-by: default avatarRafał Miłecki <rafal@milecki.pl>
Reviewed-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/18928/


Signed-off-by: default avatarJames Hogan <jhogan@kernel.org>
parent 740129b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment