[PATCH] drm/mgag200: Do not include <linux/export.h>

Jocelyn Falempe jfalempe at redhat.com
Thu Jun 12 09:08:33 UTC 2025


On 12/06/2025 10:53, Thomas Zimmermann wrote:
> Fix the compile-time warning
> 
>    drivers/gpu/drm/mgag200/mgag200_ddc.c: warning: EXPORT_SYMBOL() is not used, but #include <linux/export.h> is present
> 
Thanks, it looks good to me.

Reviewed-by: Jocelyn Falempe <jfalempe at redhat.com>

> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> ---
>   drivers/gpu/drm/mgag200/mgag200_ddc.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/mgag200/mgag200_ddc.c b/drivers/gpu/drm/mgag200/mgag200_ddc.c
> index 6d81ea8931e8..c31673eaa554 100644
> --- a/drivers/gpu/drm/mgag200/mgag200_ddc.c
> +++ b/drivers/gpu/drm/mgag200/mgag200_ddc.c
> @@ -26,7 +26,6 @@
>    * Authors: Dave Airlie <airlied at redhat.com>
>    */
>   
> -#include <linux/export.h>
>   #include <linux/i2c-algo-bit.h>
>   #include <linux/i2c.h>
>   #include <linux/pci.h>



More information about the dri-devel mailing list