treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / gpu / drm / sti / sti_gdp.h
blobdeb07e34173d60f6cab1a1452787dfe8cbaf8d6d
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) STMicroelectronics SA 2014
4 * Authors: Benjamin Gaignard <benjamin.gaignard@st.com>
5 * Fabien Dessenne <fabien.dessenne@st.com>
6 * for STMicroelectronics.
7 */
9 #ifndef _STI_GDP_H_
10 #define _STI_GDP_H_
12 #include <linux/types.h>
14 #include <drm/drm_plane.h>
16 struct drm_device;
17 struct device;
19 struct drm_plane *sti_gdp_create(struct drm_device *drm_dev,
20 struct device *dev, int desc,
21 void __iomem *baseaddr,
22 unsigned int possible_crtcs,
23 enum drm_plane_type type);
24 #endif