Skip to content

Commit 8b0efec

Browse files
committed
driver core: Drop unneeded 'extern' keyword in fwnode.h
JIRA: https://issues.redhat.com/browse/RHEL-109251 Conflicts: include/linux/fwnode.h - minor context differences commit bbf6cfb Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Date: Fri Mar 1 20:00:05 2024 +0200 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> Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>
1 parent a54b488 commit 8b0efec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/fwnode.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,10 @@ static inline void fwnode_dev_initialized(struct fwnode_handle *fwnode,
223223
fwnode->flags &= ~FWNODE_FLAG_INITIALIZED;
224224
}
225225

226-
extern bool fw_devlink_is_strict(void);
227226
int fwnode_link_add(struct fwnode_handle *con, struct fwnode_handle *sup,
228227
u8 flags);
229228
void fwnode_links_purge(struct fwnode_handle *fwnode);
230229
void fw_devlink_purge_absent_suppliers(struct fwnode_handle *fwnode);
230+
bool fw_devlink_is_strict(void);
231231

232232
#endif

0 commit comments

Comments
 (0)