linux/drivers/staging/imx-drm
Josh Boyer 9c74360f9a staging: imx-drm: Fix modular build of DRM_IMX_IPUV3
commit b8d181e408 (staging: drm/imx: add drm plane support) added a file
to the make target for DRM_IMX_IPUV3 but didn't adjust the objs required
to actually build that as a module.  Kbuild got confused and this lead to
link errors like:

ERROR: "ipu_plane_disable" [drivers/staging/imx-drm/ipuv3-crtc.ko] undefined!
ERROR: "ipu_plane_enable" [drivers/staging/imx-drm/ipuv3-crtc.ko] undefined!

Additionally, it added a call to imx_drm_crtc_id which also fails with a
link error as above.  To fix this, we adjust the make target with the proper
objs, which will change the name of the resulting .ko.  We also add an
EXPORT_SYMBOL_GPL for imx_drm_crtc_id.

Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
Fixes: b8d181e408 '(staging: drm/imx: add drm plane support)'
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-11-25 09:25:18 -08:00
..
ipu-v3 staging: drm/imx: fix return value check in ipu_add_subdevice_pdata() 2013-10-30 10:17:33 -07:00
Kconfig drm: Add separate Kconfig option for fbdev helpers 2013-10-11 23:36:58 +02:00
Makefile staging: imx-drm: Fix modular build of DRM_IMX_IPUV3 2013-11-25 09:25:18 -08:00
TODO staging: drm/imx: add drm plane support 2013-10-11 15:30:33 -07:00
imx-drm-core.c staging: imx-drm: Fix modular build of DRM_IMX_IPUV3 2013-11-25 09:25:18 -08:00
imx-drm.h staging: drm/imx: add drm plane support 2013-10-11 15:30:33 -07:00
imx-fb.c
imx-fbdev.c
imx-ldb.c staging: drm/imx: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO 2013-10-27 20:30:27 -07:00
imx-tve.c staging: imx-drm: use true and false for bool variables 2013-10-28 14:26:45 -07:00
ipuv3-crtc.c Merge branch 'for-linus-dma-masks' of git://git.linaro.org/people/rmk/linux-arm 2013-11-14 07:55:21 +09:00
ipuv3-plane.c staging: drm/imx: add drm plane support 2013-10-11 15:30:33 -07:00
ipuv3-plane.h staging: drm/imx: add drm plane support 2013-10-11 15:30:33 -07:00
parallel-display.c imx-drm: parallel-display: Add MODULE_ALIAS() 2013-08-19 15:38:03 -07:00