]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: BCM47XX: Clean up nvram header
authorRafał Miłecki <zajec5@gmail.com>
Thu, 30 Oct 2014 11:50:03 +0000 (12:50 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 24 Nov 2014 06:45:08 +0000 (07:45 +0100)
commit0a23b46c767ed99d85ce1348ec09117b57155f3b
tree0b86e1c6e555ebc92c44f2f9297384a2eb706637
parent84f9199ec537f55676c95af07f5bd02b852aafa3
MIPS: BCM47XX: Clean up nvram header

1) Move private defines to the .c file
2) Move SPROM helper to the sprom.c
3) Drop unused code
4) Rename magic to the NVRAM_MAGIC
5) Add const to the char pointer we never modify

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8289/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm47xx/nvram.c
arch/mips/bcm47xx/sprom.c
arch/mips/include/asm/mach-bcm47xx/bcm47xx_nvram.h