mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] barebox-wrapper: define stub for MODULE_VERSION
@ 2023-11-09 12:00 Ahmad Fatoum
  2023-11-10 13:14 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2023-11-09 12:00 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

We already stub out a number of MODULE_* macros to save porters the
hassle of deleting them. Let's add MODULE_VERSION to the list as well.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 include/linux/barebox-wrapper.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/barebox-wrapper.h b/include/linux/barebox-wrapper.h
index ed237877fc75..5d311e1d70f4 100644
--- a/include/linux/barebox-wrapper.h
+++ b/include/linux/barebox-wrapper.h
@@ -19,6 +19,7 @@ static inline void vfree(const void *addr)
 #define MODULE_AUTHOR(x)
 #define MODULE_DESCRIPTION(x)
 #define MODULE_LICENSE(x)
+#define MODULE_VERSION(x)
 #define MODULE_ALIAS(x)
 #define MODULE_DEVICE_TABLE(bus, table)
 #define MODULE_ALIAS_DSA_TAG_DRIVER(drv)
-- 
2.39.2




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

* Re: [PATCH] barebox-wrapper: define stub for MODULE_VERSION
  2023-11-09 12:00 [PATCH] barebox-wrapper: define stub for MODULE_VERSION Ahmad Fatoum
@ 2023-11-10 13:14 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2023-11-10 13:14 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox

On Thu, Nov 09, 2023 at 01:00:45PM +0100, Ahmad Fatoum wrote:
> We already stub out a number of MODULE_* macros to save porters the
> hassle of deleting them. Let's add MODULE_VERSION to the list as well.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
>  include/linux/barebox-wrapper.h | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks

Sascha

> 
> diff --git a/include/linux/barebox-wrapper.h b/include/linux/barebox-wrapper.h
> index ed237877fc75..5d311e1d70f4 100644
> --- a/include/linux/barebox-wrapper.h
> +++ b/include/linux/barebox-wrapper.h
> @@ -19,6 +19,7 @@ static inline void vfree(const void *addr)
>  #define MODULE_AUTHOR(x)
>  #define MODULE_DESCRIPTION(x)
>  #define MODULE_LICENSE(x)
> +#define MODULE_VERSION(x)
>  #define MODULE_ALIAS(x)
>  #define MODULE_DEVICE_TABLE(bus, table)
>  #define MODULE_ALIAS_DSA_TAG_DRIVER(drv)
> -- 
> 2.39.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



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

end of thread, other threads:[~2023-11-10 13:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-09 12:00 [PATCH] barebox-wrapper: define stub for MODULE_VERSION Ahmad Fatoum
2023-11-10 13:14 ` Sascha Hauer

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