summaryrefslogtreecommitdiffstats
path: root/arch/mips/lib
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2018-03-23 23:58:07 +0100
committerJames Hogan <jhogan@kernel.org>2018-04-23 16:44:38 +0100
commit23f8adc497b7cf1d21845f2bedca354f955f3a8e (patch)
treea098a4d8a93dd1da34b043ae11ba064133dcc279 /arch/mips/lib
parent740129b36faf049e6845819144542a0455e1e285 (diff)
downloadblackbird-obmc-linux-23f8adc497b7cf1d21845f2bedca354f955f3a8e.tar.gz
blackbird-obmc-linux-23f8adc497b7cf1d21845f2bedca354f955f3a8e.zip
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: Rafał Miłecki <rafal@milecki.pl> Reviewed-by: Aaro 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: James Hogan <jhogan@kernel.org>
Diffstat (limited to 'arch/mips/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud