Commit 11a05fbd authored by Mike Frysinger's avatar Mike Frysinger Committed by Macpaul Lin
Browse files

nds32: fix unused pmu_init warning

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: default avatarMike Frysinger <>
parent 782ff0cd
......@@ -103,6 +103,7 @@ static int nds32_pci_init(void)
#if defined(CONFIG_PMU) || defined(CONFIG_PCU)
static int pmu_init(void)
#if defined(CONFIG_FTPMU010_POWER)
......@@ -115,6 +116,7 @@ static int pmu_init(void)
return 0;
* Breathe some life into the board...
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment