MIPS: BCM47xx: Move NVRAM header to the include/linux/.
authorRafał Miłecki <zajec5@gmail.com>
Mon, 1 Dec 2014 06:58:18 +0000 (07:58 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 1 Apr 2015 15:22:00 +0000 (17:22 +0200)
commit138173d4e826587da66c7d321da1a91283222536
treed19a3962cb04031f32a5fdf7778fac2bffd032da
parent5ae03b1220ac22b823d8414997329806db16020c
MIPS: BCM47xx: Move NVRAM header to the include/linux/.

There are two reasons for having this header in the common place:
1) Simplifying drivers that read NVRAM entries. We will be able to
   safely call bcm47xx_nvram_* functions without #ifdef-s.
2) Getting NVRAM driver out of MIPS arch code. This is needed to support
   BCM5301X arch which also requires this NVRAM driver. Patch for that
   will follow once we get is reviewed.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: linux-mips@linux-mips.org
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: linux-soc@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8619/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
13 files changed:
arch/mips/bcm47xx/board.c
arch/mips/bcm47xx/nvram.c
arch/mips/bcm47xx/setup.c
arch/mips/bcm47xx/sprom.c
arch/mips/bcm47xx/time.c
arch/mips/include/asm/mach-bcm47xx/bcm47xx.h
arch/mips/include/asm/mach-bcm47xx/bcm47xx_nvram.h [deleted file]
drivers/bcma/driver_mips.c
drivers/net/ethernet/broadcom/b44.c
drivers/net/ethernet/broadcom/bgmac.c
drivers/ssb/driver_chipcommon_pmu.c
drivers/ssb/driver_mipscore.c
include/linux/bcm47xx_nvram.h [new file with mode: 0644]