diff options
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.h')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_fbdev.h | 9 |
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; | |||
24 | struct drm_fb_helper; | 24 | struct drm_fb_helper; |
25 | 25 | ||
26 | #ifdef CONFIG_DRM_FBDEV_EMULATION | 26 | #ifdef CONFIG_DRM_FBDEV_EMULATION |
27 | struct drm_fb_helper *omap_fbdev_init(struct drm_device *dev); | 27 | void omap_fbdev_init(struct drm_device *dev); |
28 | void omap_fbdev_free(struct drm_device *dev); | 28 | void omap_fbdev_fini(struct drm_device *dev); |
29 | #else | 29 | #else |
30 | static inline struct drm_fb_helper *omap_fbdev_init(struct drm_device *dev) | 30 | static inline void omap_fbdev_init(struct drm_device *dev) |
31 | { | 31 | { |
32 | return NULL; | ||
33 | } | 32 | } |
34 | static inline void omap_fbdev_free(struct drm_device *dev) | 33 | static inline void omap_fbdev_fini(struct drm_device *dev) |
35 | { | 34 | { |
36 | } | 35 | } |
37 | #endif | 36 | #endif |