Skip to contentSkip to conversation

macintosh: macio_asic: add missing kernel-doc params for macio_add_one_device

PATCH New Rosen Penev 1 participant 1 message May 28 Linux for power macintosh

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 macintosh: macio_asic: add missing kernel-doc params for macio_add_one_device

Add documentation for the @parent and @parent_res parameters that were missing from the kernel-doc comment.

Assisted-by Opencode:Big-pickle
---
 drivers/macintosh/macio_asic.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/macintosh/macio_asic.c +2 -0
index ee3caa3d87d1..9e744c8e687d 100644
@@ -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