[PATCH] barebox-wrapper: define stub for MODULE_VERSION

Sascha Hauer sha at pengutronix.de
Fri Nov 10 05:14:17 PST 2023


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 at 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 |



More information about the barebox mailing list