summaryrefslogtreecommitdiffstats
path: root/libpdbg/p8chip.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2018-05-03 16:26:54 +1000
committerAlistair Popple <alistair@popple.id.au>2018-05-16 11:50:21 +1000
commit2b0f45590abf4c41dc83bcd613dbc2c3e96f83f4 (patch)
tree249b00a10c4dca767dfb6f375b525f732544493e /libpdbg/p8chip.c
parente4d2de6e3aff2821ba7a44ad1b286e4ef7a7b50b (diff)
downloadpdbg-2b0f45590abf4c41dc83bcd613dbc2c3e96f83f4.tar.gz
pdbg-2b0f45590abf4c41dc83bcd613dbc2c3e96f83f4.zip
libpdbg: staticify unit structs
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'libpdbg/p8chip.c')
-rw-r--r--libpdbg/p8chip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpdbg/p8chip.c b/libpdbg/p8chip.c
index 0123042..6cae663 100644
--- a/libpdbg/p8chip.c
+++ b/libpdbg/p8chip.c
@@ -307,7 +307,7 @@ static int p8_thread_probe(struct pdbg_target *target)
return 0;
}
-struct thread p8_thread = {
+static struct thread p8_thread = {
.target = {
.name = "POWER8 Thread",
.compatible = "ibm,power8-thread",
@@ -341,7 +341,7 @@ static int p8_core_probe(struct pdbg_target *target)
return 0;
}
-struct core p8_core = {
+static struct core p8_core = {
.target = {
.name = "POWER8 Core",
.compatible = "ibm,power8-core",
OpenPOWER on IntegriCloud