]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8cb79a1aedb0f30a3d9af62345c995bedcf3cbb4
treed19a3962cb04031f32a5fdf7778fac2bffd032da
parentdc05af97f1177f2305708dd4cc73ce4cfda2b5b1
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]