[PATCH] imx-drm: imx-drm-core: Remove unneeded forward declaration
Fabio Estevam
festevam at gmail.com
Wed Oct 8 00:42:19 UTC 2014
From: Fabio Estevam <fabio.estevam at freescale.com>
There is no need to forward declare 'struct imx_drm_crtc' because the
"imx-drm.h" header file already includes it.
Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
drivers/staging/imx-drm/imx-drm-core.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/imx-drm/imx-drm-core.c b/drivers/staging/imx-drm/imx-drm-core.c
index 9cb222e..8a3b967 100644
--- a/drivers/staging/imx-drm/imx-drm-core.c
+++ b/drivers/staging/imx-drm/imx-drm-core.c
@@ -29,8 +29,6 @@
#define MAX_CRTC 4
-struct imx_drm_crtc;
-
struct imx_drm_component {
struct device_node *of_node;
struct list_head list;
--
1.9.1
More information about the devel
mailing list