[PATCH v2] [PATCH V2] Driver : rio : implement discovery for all

Navid-Derakhshandeh posted 1 patch 1 month ago
drivers/rapidio/rio.h | 2 ++
1 file changed, 2 insertions(+)
[PATCH v2] [PATCH V2] Driver : rio : implement discovery for all
Posted by Navid-Derakhshandeh 1 month ago
Fix missing include of internal RapidIO header in rio.c so that
rio_scan_mport() and rio_restart_discovery_all() prototypes are visible
to the compiler.

This resolves implicit function declaration errors reported by the
kernel test robot.

Reported-by: kernel test robot <lkp@intel.com>
Close: https://lore.kernel.org/oe-kbuild-all/202601020041.aUIaVDCt-lkp@intel.com/

Signed-off-by: Navid-Derakhshandeh <navid.derakhshandeh1@gmail.com>
---
 drivers/rapidio/rio.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/rapidio/rio.h b/drivers/rapidio/rio.h
index a0e2a09ddb8e..5d36184d2c55 100644
--- a/drivers/rapidio/rio.h
+++ b/drivers/rapidio/rio.h
@@ -43,6 +43,8 @@ extern int rio_enable_rx_tx_port(struct rio_mport *port, int local, u16 destid,
 extern int rio_register_scan(int mport_id, struct rio_scan *scan_ops);
 extern void rio_attach_device(struct rio_dev *rdev);
 extern int rio_mport_scan(int mport_id);
+extern void rio_scan_mport(struct rio_mport *mport);
+extern void rio_restart_discovery_all(void);
 
 /* Structures internal to the RIO core code */
 extern const struct attribute_group *rio_dev_groups[];
-- 
2.51.0