aboutsummaryrefslogtreecommitdiff
path: root/hw/npu.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/npu.c')
-rw-r--r--hw/npu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/npu.c b/hw/npu.c
index dba7ee5..35e6372 100644
--- a/hw/npu.c
+++ b/hw/npu.c
@@ -1679,7 +1679,7 @@ static void npu_create_phb(struct dt_node *dn)
npu_hw_init(p);
}
-void probe_npu(void)
+static void probe_npu(void)
{
struct dt_node *np;
@@ -1691,3 +1691,5 @@ void probe_npu(void)
dt_for_each_compatible(dt_root, np, "ibm,power8-npu-pciex")
npu_create_phb(np);
}
+
+DEFINE_HWPROBE_DEPS(npu, probe_npu, "phb3");