aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_fbdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.h')
-rw-r--r--drivers/gpu/drm/omapdrm/omap_fbdev.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_fbdev.h b/drivers/gpu/drm/omapdrm/omap_fbdev.h
index 1f5ba0996a1a..7dfd843f73f1 100644
--- a/drivers/gpu/drm/omapdrm/omap_fbdev.h
+++ b/drivers/gpu/drm/omapdrm/omap_fbdev.h
@@ -24,14 +24,13 @@ struct drm_device;
24struct drm_fb_helper; 24struct drm_fb_helper;
25 25
26#ifdef CONFIG_DRM_FBDEV_EMULATION 26#ifdef CONFIG_DRM_FBDEV_EMULATION
27struct drm_fb_helper *omap_fbdev_init(struct drm_device *dev); 27void omap_fbdev_init(struct drm_device *dev);
28void omap_fbdev_free(struct drm_device *dev); 28void omap_fbdev_fini(struct drm_device *dev);
29#else 29#else
30static inline struct drm_fb_helper *omap_fbdev_init(struct drm_device *dev) 30static inline void omap_fbdev_init(struct drm_device *dev)
31{ 31{
32 return NULL;
33} 32}
34static inline void omap_fbdev_free(struct drm_device *dev) 33static inline void omap_fbdev_fini(struct drm_device *dev)
35{ 34{
36} 35}
37#endif 36#endif