imx-drm: imx-drm-core: Export imx_drm_encoder_get_mux_id
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 28 Jun 2013 16:55:27 +0000 (13:55 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2013 20:33:14 +0000 (13:33 -0700)
When building imx_v6_v7_defconfig with imx-drm drivers selected as modules, we
get the following build error:

ERROR: "imx_drm_encoder_get_mux_id" [drivers/staging/imx-drm/imx-ldb.ko] undefined!

Export the required function to avoid this problem.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/imx-drm-core.c

index 9854a1daf606b9b713c63ec8114da1a163948df2..6bc205baa4a5f33750cad6a5275fc99a8ec110a6 100644 (file)
@@ -678,6 +678,7 @@ found:
 
        return i;
 }
+EXPORT_SYMBOL_GPL(imx_drm_encoder_get_mux_id);
 
 /*
  * imx_drm_remove_encoder - remove an encoder