aboutsummaryrefslogtreecommitdiff
path: root/hw/phb3.c
diff options
context:
space:
mode:
authorStewart Smith <stewart@flamingspork.com>2021-12-20 22:22:45 +1000
committerCédric Le Goater <clg@kaod.org>2022-01-03 16:12:45 +0100
commitb2b4b311c4a2a084bb072eeaf8d9e0409a9eedd5 (patch)
tree165579d6ce57f648d23fdbe1d31c9cdc1357db9c /hw/phb3.c
parentbd497ddbfc845f55c2de0e65c67e7a8c20687a22 (diff)
downloadskiboot-b2b4b311c4a2a084bb072eeaf8d9e0409a9eedd5.zip
skiboot-b2b4b311c4a2a084bb072eeaf8d9e0409a9eedd5.tar.gz
skiboot-b2b4b311c4a2a084bb072eeaf8d9e0409a9eedd5.tar.bz2
hwprobe: convert PHB, NPU, PAU subsystems to hwprobe
Reviewed-by: Dan Horák <dan@danny.cz> [npiggin: split out from initial hwprobe pach] Signed-off-by: Stewart Smith <stewart@flamingspork.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'hw/phb3.c')
-rw-r--r--hw/phb3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/phb3.c b/hw/phb3.c
index 09255a0..f46a43c 100644
--- a/hw/phb3.c
+++ b/hw/phb3.c
@@ -4993,7 +4993,7 @@ static void phb3_probe_pbcq(struct dt_node *pbcq)
}
-void probe_phb3(void)
+static void probe_phb3(void)
{
struct dt_node *np;
@@ -5006,4 +5006,4 @@ void probe_phb3(void)
phb3_create(np);
}
-
+DEFINE_HWPROBE(phb3, probe_phb3);