提交 f72cf3f1 编写于 作者: M Mathieu Malaterre 提交者: Michael Ellerman

powerpc/powermac: Add missing prototype for note_bootable_part()

Add a missing prototype for function `note_bootable_part` to silence a
warning treated as error with W=1:

  arch/powerpc/platforms/powermac/setup.c:361:12: error: no previous prototype for ‘note_bootable_part’ [-Werror=missing-prototypes]
Suggested-by: NChristophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: NMathieu Malaterre <malat@debian.org>
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
上级 f91d5998
...@@ -352,6 +352,7 @@ static int pmac_late_init(void) ...@@ -352,6 +352,7 @@ static int pmac_late_init(void)
} }
machine_late_initcall(powermac, pmac_late_init); machine_late_initcall(powermac, pmac_late_init);
void note_bootable_part(dev_t dev, int part, int goodness);
/* /*
* This is __ref because we check for "initializing" before * This is __ref because we check for "initializing" before
* touching any of the __init sensitive things and "initializing" * touching any of the __init sensitive things and "initializing"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册