drm/rockchip: Explicitly include bits header
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Wed, 7 Aug 2024 11:07:26 +0000 (14:07 +0300)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 15 Aug 2024 10:29:19 +0000 (12:29 +0200)
Driver makes use of the BIT() macro, but relies on the bits header being
implicitly included.

Explicitly pull the header in to avoid potential build failures in some
configurations.

While at it, reorder include directives alphabetically.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20240807-b4-rk3588-bridge-upstream-v3-4-60d6bab0dc7c@collabora.com
drivers/gpu/drm/rockchip/rockchip_drm_drv.h

index bbb9e0b..8d566fc 100644 (file)
 #include <drm/drm_atomic_helper.h>
 #include <drm/drm_gem.h>
 
+#include <linux/bits.h>
+#include <linux/component.h>
 #include <linux/i2c.h>
 #include <linux/module.h>
-#include <linux/component.h>
 
 #define ROCKCHIP_MAX_FB_BUFFER 3
 #define ROCKCHIP_MAX_CONNECTOR 2