Skip to content

Commit ab03974

Browse files
cristiccmmind
authored andcommitted
drm/rockchip: Explicitly include bits header
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 <[email protected]> Signed-off-by: Heiko Stuebner <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/20240807-b4-rk3588-bridge-upstream-v3-4-60d6bab0dc7c@collabora.com
1 parent 7af6200 commit ab03974

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/gpu/drm/rockchip/rockchip_drm_drv.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@
1212
#include <drm/drm_atomic_helper.h>
1313
#include <drm/drm_gem.h>
1414

15+
#include <linux/bits.h>
16+
#include <linux/component.h>
1517
#include <linux/i2c.h>
1618
#include <linux/module.h>
17-
#include <linux/component.h>
1819

1920
#define ROCKCHIP_MAX_FB_BUFFER 3
2021
#define ROCKCHIP_MAX_CONNECTOR 2

0 commit comments

Comments
 (0)