18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef __ASM_GENERIC_FB_H_
38c2ecf20Sopenharmony_ci#define __ASM_GENERIC_FB_H_
48c2ecf20Sopenharmony_ci#include <linux/fb.h>
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#define fb_pgprotect(...) do {} while (0)
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_cistatic inline int fb_is_primary_device(struct fb_info *info)
98c2ecf20Sopenharmony_ci{
108c2ecf20Sopenharmony_ci	return 0;
118c2ecf20Sopenharmony_ci}
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#endif /* __ASM_GENERIC_FB_H_ */
14