[Pdbg] [PATCH v2 02/24] libpdbg: Make sbefifo hardware unit declarations static
Amitay Isaacs
amitay at ozlabs.org
Thu Nov 7 13:27:46 AEDT 2019
Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
libpdbg/sbefifo.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libpdbg/sbefifo.c b/libpdbg/sbefifo.c
index 030e6e9..440c0ee 100644
--- a/libpdbg/sbefifo.c
+++ b/libpdbg/sbefifo.c
@@ -191,7 +191,7 @@ static int sbefifo_probe(struct pdbg_target *target)
return 0;
}
-struct mem sbefifo_mem = {
+static struct mem sbefifo_mem = {
.target = {
.name = "SBE FIFO Chip-op based memory access",
.compatible = "ibm,sbefifo-mem",
@@ -202,7 +202,7 @@ struct mem sbefifo_mem = {
};
DECLARE_HW_UNIT(sbefifo_mem);
-struct sbefifo kernel_sbefifo = {
+static struct sbefifo kernel_sbefifo = {
.target = {
.name = "Kernel based FSI SBE FIFO",
.compatible = "ibm,kernel-sbefifo",
--
2.21.0
More information about the Pdbg
mailing list