powerpc: Fix old-style function definition
authorMathieu Malaterre <malat@debian.org>
Tue, 26 Dec 2017 14:12:33 +0000 (15:12 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 21 Jan 2018 12:37:44 +0000 (23:37 +1100)
commit4a7b8a499724c98493023e1e3009aab005968feb
treea5f9ac422cd61dcf8d0e33d3e304138ab56d0446
parent104d55ae4df928c205268c1eb83b806b53027e13
powerpc: Fix old-style function definition

Fix warnings such as:

arch/powerpc/platforms/powermac/backlight.c: In function ‘pmac_backlight_get_legacy_brightness’:
arch/powerpc/platforms/powermac/backlight.c:189:5: error: old-style function definition [-Werror=old-style-definition]
 int pmac_backlight_get_legacy_brightness()
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powermac/backlight.c