Commit 544aacc8 authored by Lin Yujun's avatar Lin Yujun
Browse files

drm: drm_fb_helper.h: Add kabi_reserve

hulk inclusion
bugzilla: https://gitee.com/openeuler/kernel/issues/I8PS7G


CVE: NA

---------------------------------------------

Add kabi_reserve in drm_fb_helper.h

Signed-off-by: default avatarLin Yujun <linyujun809@huawei.com>
parent 3954a353
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -37,6 +37,8 @@ struct drm_fb_helper;

#include <drm/drm_client.h>

#include <linux/kabi.h>

/**
 * struct drm_fb_helper_surface_size - describes fbdev size and scanout surface size
 * @fb_width: fbdev width
@@ -99,6 +101,9 @@ struct drm_fb_helper_funcs {
	 * 0 on success, or an error code otherwise.
	 */
	int (*fb_dirty)(struct drm_fb_helper *helper, struct drm_clip_rect *clip);

	KABI_RESERVE(1)
	KABI_RESERVE(2)
};

/**
@@ -206,6 +211,9 @@ struct drm_fb_helper {
	 */
	struct fb_deferred_io fbdefio;
#endif

	KABI_RESERVE(1)
	KABI_RESERVE(2)
};

static inline struct drm_fb_helper *