]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - include/linux/bcm47xx_nvram.h
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)
commit341097f17c76b3dd39539526a2af9e7fff43705e
tree0b86e1c6e555ebc92c44f2f9297384a2eb706637
parent9d1d08646af4491aec41d40341930b9bfd62ffa9
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