summaryrefslogtreecommitdiffstats
path: root/include/linux/fwnode.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-03-01 20:00:05 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-03-07 22:07:20 +0000
commitbbf6cfba49a117c502ec5df66d3ab3b485c113f8 (patch)
treeba6ef5ad91d2108df53810e4c9f70634f126291b /include/linux/fwnode.h
parent1fe6e4f0b0c47e70735066e889f97c3c6e1e79b2 (diff)
downloadlinux-stable-bbf6cfba49a117c502ec5df66d3ab3b485c113f8.tar.gz
linux-stable-bbf6cfba49a117c502ec5df66d3ab3b485c113f8.tar.bz2
linux-stable-bbf6cfba49a117c502ec5df66d3ab3b485c113f8.zip
driver core: Drop unneeded 'extern' keyword in fwnode.h
We do not use 'extern' keyword with functions. Remove the last one mistakenly added to fwnode.h. Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Saravana Kannan <saravanak@google.com> Acked-by: "Rafael J. Wysocki" <rafael@kernel.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20240301180138.271590-2-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/fwnode.h')
-rw-r--r--include/linux/fwnode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fwnode.h b/include/linux/fwnode.h
index 2a72f55d26eb..2d23a14857c7 100644
--- a/include/linux/fwnode.h
+++ b/include/linux/fwnode.h
@@ -209,9 +209,9 @@ static inline void fwnode_dev_initialized(struct fwnode_handle *fwnode,
fwnode->flags &= ~FWNODE_FLAG_INITIALIZED;
}
-extern bool fw_devlink_is_strict(void);
int fwnode_link_add(struct fwnode_handle *con, struct fwnode_handle *sup);
void fwnode_links_purge(struct fwnode_handle *fwnode);
void fw_devlink_purge_absent_suppliers(struct fwnode_handle *fwnode);
+bool fw_devlink_is_strict(void);
#endif