drm: sti: fix module compilation issue

When compiling in module some symbol aren't missing,
export them correctly.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
benjamin.gaignard@linaro.org 2014-12-13 07:59:31 +01:00 committed by Dave Airlie
parent 731d754550
commit 4e0cd68115
3 changed files with 4 additions and 0 deletions

View File

@ -194,3 +194,4 @@ struct drm_plane *sti_drm_plane_init(struct drm_device *dev,
return &layer->plane;
}
EXPORT_SYMBOL(sti_drm_plane_init);

View File

@ -816,6 +816,7 @@ struct sti_layer *sti_hqvdp_create(struct device *dev)
return &hqvdp->layer;
}
EXPORT_SYMBOL(sti_hqvdp_create);
static void sti_hqvdp_init_plugs(struct sti_hqvdp *hqvdp)
{

View File

@ -40,6 +40,7 @@ const char *sti_layer_to_str(struct sti_layer *layer)
return "<UNKNOWN LAYER>";
}
}
EXPORT_SYMBOL(sti_layer_to_str);
struct sti_layer *sti_layer_create(struct device *dev, int desc,
void __iomem *baseaddr)
@ -77,6 +78,7 @@ struct sti_layer *sti_layer_create(struct device *dev, int desc,
return layer;
}
EXPORT_SYMBOL(sti_layer_create);
int sti_layer_prepare(struct sti_layer *layer,
struct drm_crtc *crtc,