[PATCH] macintosh: macio_asic: add missing kernel-doc params for macio_add_one_device
From: Rosen Penev
Date: Thu May 28 2026 - 16:42:10 EST
Add documentation for the @parent and @parent_res parameters that were
missing from the kernel-doc comment.
Assisted-by: Opencode:Big-pickle
Signed-off-by: Rosen Penev <rosenp@xxxxxxxxx>
---
drivers/macintosh/macio_asic.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/macintosh/macio_asic.c b/drivers/macintosh/macio_asic.c
index ee3caa3d87d1..9e744c8e687d 100644
--- a/drivers/macintosh/macio_asic.c
+++ b/drivers/macintosh/macio_asic.c
@@ -349,8 +349,10 @@ static void macio_setup_resources(struct macio_dev *dev,
/**
* macio_add_one_device - Add one device from OF node to the device tree
* @chip: pointer to the macio_chip holding the device
+ * @parent: parent device
* @np: pointer to the device node in the OF tree
* @in_bay: set to 1 if device is part of a media-bay
+ * @parent_res: parent resource
*
* When media-bay is changed to hotswap drivers, this function will
* be exposed to the bay driver some way...
--
2.54.0