2 * omap_fbdev.h -- OMAP DRM FBDEV Compatibility
4 * Copyright (C) 2011 Texas Instruments
5 * Author: Rob Clark <rob@ti.com>
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License version 2 as published by
9 * the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16 * You should have received a copy of the GNU General Public License along with
17 * this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef __OMAPDRM_FBDEV_H__
21 #define __OMAPDRM_FBDEV_H__
26 #ifdef CONFIG_DRM_FBDEV_EMULATION
27 struct drm_fb_helper
*omap_fbdev_init(struct drm_device
*dev
);
28 void omap_fbdev_free(struct drm_device
*dev
);
30 static inline struct drm_fb_helper
*omap_fbdev_init(struct drm_device
*dev
)
34 static inline void omap_fbdev_free(struct drm_device
*dev
)
39 #endif /* __OMAPDRM_FBDEV_H__ */