|
@@ -263,7 +263,7 @@ static int sti_compositor_remove(struct platform_device *pdev)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-static struct platform_driver sti_compositor_driver = {
|
|
|
|
|
|
+struct platform_driver sti_compositor_driver = {
|
|
.driver = {
|
|
.driver = {
|
|
.name = "sti-compositor",
|
|
.name = "sti-compositor",
|
|
.of_match_table = compositor_of_match,
|
|
.of_match_table = compositor_of_match,
|
|
@@ -272,8 +272,6 @@ static struct platform_driver sti_compositor_driver = {
|
|
.remove = sti_compositor_remove,
|
|
.remove = sti_compositor_remove,
|
|
};
|
|
};
|
|
|
|
|
|
-module_platform_driver(sti_compositor_driver);
|
|
|
|
-
|
|
|
|
MODULE_AUTHOR("Benjamin Gaignard <benjamin.gaignard@st.com>");
|
|
MODULE_AUTHOR("Benjamin Gaignard <benjamin.gaignard@st.com>");
|
|
MODULE_DESCRIPTION("STMicroelectronics SoC DRM driver");
|
|
MODULE_DESCRIPTION("STMicroelectronics SoC DRM driver");
|
|
MODULE_LICENSE("GPL");
|
|
MODULE_LICENSE("GPL");
|