diff options
author | Mathieu Malaterre <malat@debian.org> | 2018-04-04 22:13:05 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-05-25 12:04:42 +1000 |
commit | f72cf3f1d49f2c35d6cb682af2e8c93550f264e4 (patch) | |
tree | 1e3207a6228f96d877670532dd6b35255fe7584c /arch/powerpc/platforms/powermac/setup.c | |
parent | f91d5998996819eaf194ff48e00d4956a9270abd (diff) | |
download | linux-f72cf3f1d49f2c35d6cb682af2e8c93550f264e4.tar.gz linux-f72cf3f1d49f2c35d6cb682af2e8c93550f264e4.tar.bz2 linux-f72cf3f1d49f2c35d6cb682af2e8c93550f264e4.zip |
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: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powermac/setup.c')
-rw-r--r-- | arch/powerpc/platforms/powermac/setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/powermac/setup.c b/arch/powerpc/platforms/powermac/setup.c index f40e87ca180b..3a529fcdae97 100644 --- a/arch/powerpc/platforms/powermac/setup.c +++ b/arch/powerpc/platforms/powermac/setup.c @@ -352,6 +352,7 @@ static int pmac_late_init(void) } 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 * touching any of the __init sensitive things and "initializing" |