drm: rockchip: export functions needed by rockchip dw_hdmi bridge driver
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 7 Jan 2015 15:16:18 +0000 (16:16 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 7 Jan 2015 17:32:35 +0000 (18:32 +0100)
To build the rockchip dw_hdmi driver as a module, the
rockchip_drm_encoder_get_mux_id and rockchip_drm_crtc_mode_config
functions need to be exported.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/rockchip/rockchip_drm_drv.c
drivers/gpu/drm/rockchip/rockchip_drm_vop.c

index a798c7c71f9166f19d93df76f77dd15f08fb4f40..21a481b224ebab6ef896bbbf5e2a9036c5cfb0ed 100644 (file)
@@ -390,6 +390,7 @@ int rockchip_drm_encoder_get_mux_id(struct device_node *node,
 
        return -EINVAL;
 }
+EXPORT_SYMBOL_GPL(rockchip_drm_encoder_get_mux_id);
 
 static int compare_of(struct device *dev, void *data)
 {
index e7ca25b3fb38616dd307b6c441d29c6c8c3ccd2e..9a5c571b95fceb97dae7bfadf1b9782ede0f686e 100644 (file)
@@ -735,6 +735,7 @@ int rockchip_drm_crtc_mode_config(struct drm_crtc *crtc,
 
        return 0;
 }
+EXPORT_SYMBOL_GPL(rockchip_drm_crtc_mode_config);
 
 static int vop_crtc_enable_vblank(struct drm_crtc *crtc)
 {