summaryrefslogtreecommitdiff
blob: f4cc61f7bb463748466a29f302cfb6f6ce2d30db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
https://bugs.gentoo.org/706942
--- a/peripherals/sim_5206.c
+++ b/peripherals/sim_5206.c
@@ -23,7 +23,7 @@ static struct _sim_register *sim_register_lookup_by_offset(s32 offset);
 static struct _sim_register *sim_register_lookup_by_name(char *name);
 static void sim_interrupt_assert(s16 number, s16 vector);
 static void sim_interrupt_withdraw(s16 number);
-struct _sim sim_data;
+static struct _sim sim_data;
 
 /* name, offset, width, read, write, resetvalue, description */
 static struct _sim_register sim_reg[] = {
--- a/peripherals/sim_5307.c
+++ b/peripherals/sim_5307.c
@@ -59,7 +59,7 @@ static struct _sim_register *sim_register_lookup_by_offset(s32 offset);
 static struct _sim_register *sim_register_lookup_by_name(char *name);
 static void sim_interrupt_assert(s16 number, s16 vector);
 static void sim_interrupt_withdraw(s16 number);
-struct _sim sim_data;
+static struct _sim sim_data;
 
 /* name, offset, width, read, write, resetvalue, description */
 static struct _sim_register sim_reg[] = {