summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/sti/sti_compositor.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2015-09-24 19:02:40 +0200
committerVincent Abriou <vincent.abriou@st.com>2015-11-03 13:04:54 +0100
commitdcec16efd6776faca6f13ab698cb5cf031d62b66 (patch)
treed95ad5d622f5c02d5976d193ccab70a74042bf3b /drivers/gpu/drm/sti/sti_compositor.c
parent2388693e10026ec0be2f7de0bb8fcb5a9bc119f9 (diff)
downloadlinux-dcec16efd6776faca6f13ab698cb5cf031d62b66.tar.gz
linux-dcec16efd6776faca6f13ab698cb5cf031d62b66.tar.bz2
linux-dcec16efd6776faca6f13ab698cb5cf031d62b66.zip
drm/sti: Build monolithic driver
There's no use building the individual drivers as separate modules because they are all only useful if combined into a single DRM/KMS device. Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org> Cc: Vincent Abriou <vincent.abriou@st.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Vincent Abriou <vincent.abriou@st.com>
Diffstat (limited to 'drivers/gpu/drm/sti/sti_compositor.c')
-rw-r--r--drivers/gpu/drm/sti/sti_compositor.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/sti/sti_compositor.c b/drivers/gpu/drm/sti/sti_compositor.c
index c652627b1bca..afed2171beb9 100644
--- a/drivers/gpu/drm/sti/sti_compositor.c
+++ b/drivers/gpu/drm/sti/sti_compositor.c
@@ -263,7 +263,7 @@ static int sti_compositor_remove(struct platform_device *pdev)
return 0;
}
-static struct platform_driver sti_compositor_driver = {
+struct platform_driver sti_compositor_driver = {
.driver = {
.name = "sti-compositor",
.of_match_table = compositor_of_match,
@@ -272,8 +272,6 @@ static struct platform_driver sti_compositor_driver = {
.remove = sti_compositor_remove,
};
-module_platform_driver(sti_compositor_driver);
-
MODULE_AUTHOR("Benjamin Gaignard <benjamin.gaignard@st.com>");
MODULE_DESCRIPTION("STMicroelectronics SoC DRM driver");
MODULE_LICENSE("GPL");