public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/1] driver core:  Drop unneeded 'externt' keyword in fwnode.h
@ 2024-02-20 15:45 Andy Shevchenko
  2024-02-20 17:52 ` Andy Shevchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2024-02-20 15:45 UTC (permalink / raw)
  To: Andy Shevchenko, linux-acpi, linux-kernel
  Cc: Daniel Scally, Heikki Krogerus, Sakari Ailus, Rafael J. Wysocki,
	Len Brown, Greg Kroah-Hartman, Saravana Kannan

We do not use 'extern' keywork with functions. Remove the last one
mistakenly added to fwnode.h.

Fixes: 19d0f5f6bff8 ("driver core: Add fw_devlink.strict kernel param")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 include/linux/fwnode.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/fwnode.h b/include/linux/fwnode.h
index fdc90e6e4dc3..3b763042ee82 100644
--- a/include/linux/fwnode.h
+++ b/include/linux/fwnode.h
@@ -216,9 +216,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
-- 
2.43.0.rc1.1.gbec44491f096


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v1 1/1] driver core:  Drop unneeded 'externt' keyword in fwnode.h
  2024-02-20 15:45 [PATCH v1 1/1] driver core: Drop unneeded 'externt' keyword in fwnode.h Andy Shevchenko
@ 2024-02-20 17:52 ` Andy Shevchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2024-02-20 17:52 UTC (permalink / raw)
  To: linux-acpi, linux-kernel
  Cc: Daniel Scally, Heikki Krogerus, Sakari Ailus, Rafael J. Wysocki,
	Len Brown, Greg Kroah-Hartman, Saravana Kannan

On Tue, Feb 20, 2024 at 05:45:32PM +0200, Andy Shevchenko wrote:
> We do not use 'extern' keywork with functions. Remove the last one
> mistakenly added to fwnode.h.

Oops, there are two typos in the Subject.
I'm going to send a v2 with them fixed.

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-20 17:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-20 15:45 [PATCH v1 1/1] driver core: Drop unneeded 'externt' keyword in fwnode.h Andy Shevchenko
2024-02-20 17:52 ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox