treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / gpu / drm / omapdrm / omap_fbdev.h
blob74a68a5a6eab92e5b94fc267d70d505e7d078a2e
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * omap_fbdev.h -- OMAP DRM FBDEV Compatibility
5 * Copyright (C) 2011 Texas Instruments
6 * Author: Rob Clark <rob@ti.com>
7 */
9 #ifndef __OMAPDRM_FBDEV_H__
10 #define __OMAPDRM_FBDEV_H__
12 struct drm_device;
13 struct drm_fb_helper;
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)
22 static inline void omap_fbdev_fini(struct drm_device *dev)
25 #endif
27 #endif /* __OMAPDRM_FBDEV_H__ */