aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/ps3/os-area.c
diff options
context:
space:
mode:
authorMathieu Malaterre <malat@debian.org>2019-02-02 14:05:35 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2019-02-03 20:44:19 +1100
commit8e0f97357533aa5b57b333de47eb008c6072fcac (patch)
tree5b611369becc5b3ce5dc8e550c02adb8d088da93 /arch/powerpc/platforms/ps3/os-area.c
parentpowerpc: Remove trailing semicolon after curly brace (diff)
downloadlinux-dev-8e0f97357533aa5b57b333de47eb008c6072fcac.tar.xz
linux-dev-8e0f97357533aa5b57b333de47eb008c6072fcac.zip
Move static keyword at beginning of declaration
Move the static keyword around to remove the following warnings (W=1): arch/powerpc/platforms/ps3/os-area.c:212:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration] arch/powerpc/platforms/ps3/system-bus.c:45:1: error: 'static' is not at beginning of declaration [-Werror=old-style-declaration] Signed-off-by: Mathieu Malaterre <malat@debian.org> Acked-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/ps3/os-area.c')
-rw-r--r--arch/powerpc/platforms/ps3/os-area.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/ps3/os-area.c b/arch/powerpc/platforms/ps3/os-area.c
index f5387ad82279..4d65c5380020 100644
--- a/arch/powerpc/platforms/ps3/os-area.c
+++ b/arch/powerpc/platforms/ps3/os-area.c
@@ -205,11 +205,11 @@ static const struct os_area_db_id os_area_db_id_rtc_diff = {
* 3) The number of seconds from 1970 to 2000.
*/
-struct saved_params {
+static struct saved_params {
unsigned int valid;
s64 rtc_diff;
unsigned int av_multi_out;
-} static saved_params;
+} saved_params;
static struct property property_rtc_diff = {
.name = "linux,rtc_diff",