mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
MIPS: BCM47XX: add bcm47xx prefix in front of nvram function names
The nvram functions are exported and used by some normal drivers. To prevent name clashes with ofter parts of the kernel code add a bcm47xx_ prefix in front of the function names and the header file name. Signed-off-by: Hauke Mehrtens <[email protected]> Patchwork: http://patchwork.linux-mips.org/patch/4744/ Signed-off-by: John Crispin <[email protected]>
This commit is contained in:
parent
f36738ddfe
commit
111bd981e2
8 changed files with 23 additions and 23 deletions
|
|
@ -14,7 +14,7 @@
|
|||
#include <linux/delay.h>
|
||||
#include <linux/export.h>
|
||||
#ifdef CONFIG_BCM47XX
|
||||
#include <asm/mach-bcm47xx/nvram.h>
|
||||
#include <bcm47xx_nvram.h>
|
||||
#endif
|
||||
|
||||
#include "ssb_private.h"
|
||||
|
|
@ -322,7 +322,7 @@ static void ssb_pmu_pll_init(struct ssb_chipcommon *cc)
|
|||
if (bus->bustype == SSB_BUSTYPE_SSB) {
|
||||
#ifdef CONFIG_BCM47XX
|
||||
char buf[20];
|
||||
if (nvram_getenv("xtalfreq", buf, sizeof(buf)) >= 0)
|
||||
if (bcm47xx_nvram_getenv("xtalfreq", buf, sizeof(buf)) >= 0)
|
||||
crystalfreq = simple_strtoul(buf, NULL, 0);
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue