summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 782ff0c)
raw | patch | inline | side by side (parent: 782ff0c)
author | Mike Frysinger <vapier@gentoo.org> | |
Mon, 6 Aug 2012 13:46:37 +0000 (13:46 +0000) | ||
committer | Macpaul Lin <macpaul@gmail.com> | |
Fri, 10 Aug 2012 16:43:28 +0000 (00:43 +0800) |
Fixes the build-time warning:
board.c: At top level:
board.c:106: warning: 'pmu_init' defined but not used
This makes the ifdef logic at the call site match the logic at the
function definition.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
board.c: At top level:
board.c:106: warning: 'pmu_init' defined but not used
This makes the ifdef logic at the call site match the logic at the
function definition.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/nds32/lib/board.c | patch | blob | history |
diff --git a/arch/nds32/lib/board.c b/arch/nds32/lib/board.c
index f5de26678a625484ea4c55f620feab3d97a50f91..2164a505f6e7a9b4677290ba4931aba28af33ec4 100644 (file)
--- a/arch/nds32/lib/board.c
+++ b/arch/nds32/lib/board.c
#endif /* CONFIG_CMD_PCI || CONFIG_PCI */
#if defined(CONFIG_PMU) || defined(CONFIG_PCU)
+#ifndef CONFIG_SKIP_LOWLEVEL_INIT
static int pmu_init(void)
{
#if defined(CONFIG_FTPMU010_POWER)
return 0;
}
#endif
+#endif
/*
* Breathe some life into the board...