1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * omap_fbdev.h -- OMAP DRM FBDEV Compatibility
4  *
5  * Copyright (C) 2011 Texas Instruments
6  * Author: Rob Clark <rob@ti.com>
7  */
8 
9 #ifndef __OMAPDRM_FBDEV_H__
10 #define __OMAPDRM_FBDEV_H__
11 
12 struct drm_device;
13 struct drm_fb_helper;
14 
15 #ifdef CONFIG_DRM_FBDEV_EMULATION
16 void omap_fbdev_init(struct drm_device *dev);
17 void omap_fbdev_fini(struct drm_device *dev);
18 #else
19 static inline void omap_fbdev_init(struct drm_device *dev)
20 {
21 }
22 static inline void omap_fbdev_fini(struct drm_device *dev)
23 {
24 }
25 #endif
26 
27 #endif /* __OMAPDRM_FBDEV_H__ */
28