From: Ville Syrjälä <[email protected]> adp_drv.c uses FIELD_GET() but doesn't include linux/bitfield.h, relying on an indirect include that isn't present on all configurations. Include it explicitly so the driver can be built with COMPILE_TEST=y on other architectures.
Cc: Sasha Finkelstein <[email protected]> Cc: Janne Grunau <[email protected]> Cc: [email protected] Signed-off-by: Ville Syrjälä <[email protected]> --- drivers/gpu/drm/adp/adp_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/adp/adp_drv.c b/drivers/gpu/drm/adp/adp_drv.c index fdf0e6316175..21257612f5d0 100644 --- a/drivers/gpu/drm/adp/adp_drv.c +++ b/drivers/gpu/drm/adp/adp_drv.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only +#include <linux/bitfield.h> #include <linux/component.h> #include <linux/iopoll.h> #include <linux/of.h> -- 2.56.0
