aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-01-08 10:30:34 -0500
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-01-08 10:30:34 -0500
commit193984f43decedd2604547022e3a26249dc18b3e (patch)
tree5a2637a0fd775e4430fc537f8107f499eea470ea /drivers/video/omap
parentc5627f65d6b860023f8ee985df61c20617dd21b5 (diff)
parent9a9016832d2601a290db4dce6dd55552bdae5b1a (diff)
Merge branch 'for-florian' of git://gitorious.org/linux-omap-dss2/linux into fbdev-next
Diffstat (limited to 'drivers/video/omap')
-rw-r--r--drivers/video/omap/lcd_ams_delta.c15
-rw-r--r--drivers/video/omap/lcd_h3.c16
-rw-r--r--drivers/video/omap/lcd_htcherald.c16
-rw-r--r--drivers/video/omap/lcd_inn1510.c16
-rw-r--r--drivers/video/omap/lcd_inn1610.c16
-rw-r--r--drivers/video/omap/lcd_osk.c16
-rw-r--r--drivers/video/omap/lcd_palmte.c16
-rw-r--r--drivers/video/omap/lcd_palmtt.c15
-rw-r--r--drivers/video/omap/lcd_palmz71.c15
9 files changed, 18 insertions, 123 deletions
diff --git a/drivers/video/omap/lcd_ams_delta.c b/drivers/video/omap/lcd_ams_delta.c
index 6978ae4ef83a..0fdd6f6873bf 100644
--- a/drivers/video/omap/lcd_ams_delta.c
+++ b/drivers/video/omap/lcd_ams_delta.c
@@ -198,7 +198,7 @@ static int ams_delta_panel_resume(struct platform_device *pdev)
198 return 0; 198 return 0;
199} 199}
200 200
201struct platform_driver ams_delta_panel_driver = { 201static struct platform_driver ams_delta_panel_driver = {
202 .probe = ams_delta_panel_probe, 202 .probe = ams_delta_panel_probe,
203 .remove = ams_delta_panel_remove, 203 .remove = ams_delta_panel_remove,
204 .suspend = ams_delta_panel_suspend, 204 .suspend = ams_delta_panel_suspend,
@@ -209,15 +209,4 @@ struct platform_driver ams_delta_panel_driver = {
209 }, 209 },
210}; 210};
211 211
212static int __init ams_delta_panel_drv_init(void) 212module_platform_driver(ams_delta_panel_driver);
213{
214 return platform_driver_register(&ams_delta_panel_driver);
215}
216
217static void __exit ams_delta_panel_drv_cleanup(void)
218{
219 platform_driver_unregister(&ams_delta_panel_driver);
220}
221
222module_init(ams_delta_panel_drv_init);
223module_exit(ams_delta_panel_drv_cleanup);
diff --git a/drivers/video/omap/lcd_h3.c b/drivers/video/omap/lcd_h3.c
index 622ad839fd9d..49bdeca81e50 100644
--- a/drivers/video/omap/lcd_h3.c
+++ b/drivers/video/omap/lcd_h3.c
@@ -113,7 +113,7 @@ static int h3_panel_resume(struct platform_device *pdev)
113 return 0; 113 return 0;
114} 114}
115 115
116struct platform_driver h3_panel_driver = { 116static struct platform_driver h3_panel_driver = {
117 .probe = h3_panel_probe, 117 .probe = h3_panel_probe,
118 .remove = h3_panel_remove, 118 .remove = h3_panel_remove,
119 .suspend = h3_panel_suspend, 119 .suspend = h3_panel_suspend,
@@ -124,16 +124,4 @@ struct platform_driver h3_panel_driver = {
124 }, 124 },
125}; 125};
126 126
127static int __init h3_panel_drv_init(void) 127module_platform_driver(h3_panel_driver);
128{
129 return platform_driver_register(&h3_panel_driver);
130}
131
132static void __exit h3_panel_drv_cleanup(void)
133{
134 platform_driver_unregister(&h3_panel_driver);
135}
136
137module_init(h3_panel_drv_init);
138module_exit(h3_panel_drv_cleanup);
139
diff --git a/drivers/video/omap/lcd_htcherald.c b/drivers/video/omap/lcd_htcherald.c
index 4802419da83b..20f477851d54 100644
--- a/drivers/video/omap/lcd_htcherald.c
+++ b/drivers/video/omap/lcd_htcherald.c
@@ -104,7 +104,7 @@ static int htcherald_panel_resume(struct platform_device *pdev)
104 return 0; 104 return 0;
105} 105}
106 106
107struct platform_driver htcherald_panel_driver = { 107static struct platform_driver htcherald_panel_driver = {
108 .probe = htcherald_panel_probe, 108 .probe = htcherald_panel_probe,
109 .remove = htcherald_panel_remove, 109 .remove = htcherald_panel_remove,
110 .suspend = htcherald_panel_suspend, 110 .suspend = htcherald_panel_suspend,
@@ -115,16 +115,4 @@ struct platform_driver htcherald_panel_driver = {
115 }, 115 },
116}; 116};
117 117
118static int __init htcherald_panel_drv_init(void) 118module_platform_driver(htcherald_panel_driver);
119{
120 return platform_driver_register(&htcherald_panel_driver);
121}
122
123static void __exit htcherald_panel_drv_cleanup(void)
124{
125 platform_driver_unregister(&htcherald_panel_driver);
126}
127
128module_init(htcherald_panel_drv_init);
129module_exit(htcherald_panel_drv_cleanup);
130
diff --git a/drivers/video/omap/lcd_inn1510.c b/drivers/video/omap/lcd_inn1510.c
index 3271f1643b26..b38b1dd15ce3 100644
--- a/drivers/video/omap/lcd_inn1510.c
+++ b/drivers/video/omap/lcd_inn1510.c
@@ -98,7 +98,7 @@ static int innovator1510_panel_resume(struct platform_device *pdev)
98 return 0; 98 return 0;
99} 99}
100 100
101struct platform_driver innovator1510_panel_driver = { 101static struct platform_driver innovator1510_panel_driver = {
102 .probe = innovator1510_panel_probe, 102 .probe = innovator1510_panel_probe,
103 .remove = innovator1510_panel_remove, 103 .remove = innovator1510_panel_remove,
104 .suspend = innovator1510_panel_suspend, 104 .suspend = innovator1510_panel_suspend,
@@ -109,16 +109,4 @@ struct platform_driver innovator1510_panel_driver = {
109 }, 109 },
110}; 110};
111 111
112static int __init innovator1510_panel_drv_init(void) 112module_platform_driver(innovator1510_panel_driver);
113{
114 return platform_driver_register(&innovator1510_panel_driver);
115}
116
117static void __exit innovator1510_panel_drv_cleanup(void)
118{
119 platform_driver_unregister(&innovator1510_panel_driver);
120}
121
122module_init(innovator1510_panel_drv_init);
123module_exit(innovator1510_panel_drv_cleanup);
124
diff --git a/drivers/video/omap/lcd_inn1610.c b/drivers/video/omap/lcd_inn1610.c
index 12cc52a70f96..7e8bd8e08a98 100644
--- a/drivers/video/omap/lcd_inn1610.c
+++ b/drivers/video/omap/lcd_inn1610.c
@@ -122,7 +122,7 @@ static int innovator1610_panel_resume(struct platform_device *pdev)
122 return 0; 122 return 0;
123} 123}
124 124
125struct platform_driver innovator1610_panel_driver = { 125static struct platform_driver innovator1610_panel_driver = {
126 .probe = innovator1610_panel_probe, 126 .probe = innovator1610_panel_probe,
127 .remove = innovator1610_panel_remove, 127 .remove = innovator1610_panel_remove,
128 .suspend = innovator1610_panel_suspend, 128 .suspend = innovator1610_panel_suspend,
@@ -133,16 +133,4 @@ struct platform_driver innovator1610_panel_driver = {
133 }, 133 },
134}; 134};
135 135
136static int __init innovator1610_panel_drv_init(void) 136module_platform_driver(innovator1610_panel_driver);
137{
138 return platform_driver_register(&innovator1610_panel_driver);
139}
140
141static void __exit innovator1610_panel_drv_cleanup(void)
142{
143 platform_driver_unregister(&innovator1610_panel_driver);
144}
145
146module_init(innovator1610_panel_drv_init);
147module_exit(innovator1610_panel_drv_cleanup);
148
diff --git a/drivers/video/omap/lcd_osk.c b/drivers/video/omap/lcd_osk.c
index 6f8d13c41202..5914220dfa9c 100644
--- a/drivers/video/omap/lcd_osk.c
+++ b/drivers/video/omap/lcd_osk.c
@@ -116,7 +116,7 @@ static int osk_panel_resume(struct platform_device *pdev)
116 return 0; 116 return 0;
117} 117}
118 118
119struct platform_driver osk_panel_driver = { 119static struct platform_driver osk_panel_driver = {
120 .probe = osk_panel_probe, 120 .probe = osk_panel_probe,
121 .remove = osk_panel_remove, 121 .remove = osk_panel_remove,
122 .suspend = osk_panel_suspend, 122 .suspend = osk_panel_suspend,
@@ -127,16 +127,4 @@ struct platform_driver osk_panel_driver = {
127 }, 127 },
128}; 128};
129 129
130static int __init osk_panel_drv_init(void) 130module_platform_driver(osk_panel_driver);
131{
132 return platform_driver_register(&osk_panel_driver);
133}
134
135static void __exit osk_panel_drv_cleanup(void)
136{
137 platform_driver_unregister(&osk_panel_driver);
138}
139
140module_init(osk_panel_drv_init);
141module_exit(osk_panel_drv_cleanup);
142
diff --git a/drivers/video/omap/lcd_palmte.c b/drivers/video/omap/lcd_palmte.c
index 4cb301750d02..88c31eb0cd6c 100644
--- a/drivers/video/omap/lcd_palmte.c
+++ b/drivers/video/omap/lcd_palmte.c
@@ -97,7 +97,7 @@ static int palmte_panel_resume(struct platform_device *pdev)
97 return 0; 97 return 0;
98} 98}
99 99
100struct platform_driver palmte_panel_driver = { 100static struct platform_driver palmte_panel_driver = {
101 .probe = palmte_panel_probe, 101 .probe = palmte_panel_probe,
102 .remove = palmte_panel_remove, 102 .remove = palmte_panel_remove,
103 .suspend = palmte_panel_suspend, 103 .suspend = palmte_panel_suspend,
@@ -108,16 +108,4 @@ struct platform_driver palmte_panel_driver = {
108 }, 108 },
109}; 109};
110 110
111static int __init palmte_panel_drv_init(void) 111module_platform_driver(palmte_panel_driver);
112{
113 return platform_driver_register(&palmte_panel_driver);
114}
115
116static void __exit palmte_panel_drv_cleanup(void)
117{
118 platform_driver_unregister(&palmte_panel_driver);
119}
120
121module_init(palmte_panel_drv_init);
122module_exit(palmte_panel_drv_cleanup);
123
diff --git a/drivers/video/omap/lcd_palmtt.c b/drivers/video/omap/lcd_palmtt.c
index b51b332e5a2b..aaf3c8ba1243 100644
--- a/drivers/video/omap/lcd_palmtt.c
+++ b/drivers/video/omap/lcd_palmtt.c
@@ -102,7 +102,7 @@ static int palmtt_panel_resume(struct platform_device *pdev)
102 return 0; 102 return 0;
103} 103}
104 104
105struct platform_driver palmtt_panel_driver = { 105static struct platform_driver palmtt_panel_driver = {
106 .probe = palmtt_panel_probe, 106 .probe = palmtt_panel_probe,
107 .remove = palmtt_panel_remove, 107 .remove = palmtt_panel_remove,
108 .suspend = palmtt_panel_suspend, 108 .suspend = palmtt_panel_suspend,
@@ -113,15 +113,4 @@ struct platform_driver palmtt_panel_driver = {
113 }, 113 },
114}; 114};
115 115
116static int __init palmtt_panel_drv_init(void) 116module_platform_driver(palmtt_panel_driver);
117{
118 return platform_driver_register(&palmtt_panel_driver);
119}
120
121static void __exit palmtt_panel_drv_cleanup(void)
122{
123 platform_driver_unregister(&palmtt_panel_driver);
124}
125
126module_init(palmtt_panel_drv_init);
127module_exit(palmtt_panel_drv_cleanup);
diff --git a/drivers/video/omap/lcd_palmz71.c b/drivers/video/omap/lcd_palmz71.c
index 2334e56536bc..3b7d8aa1cf34 100644
--- a/drivers/video/omap/lcd_palmz71.c
+++ b/drivers/video/omap/lcd_palmz71.c
@@ -98,7 +98,7 @@ static int palmz71_panel_resume(struct platform_device *pdev)
98 return 0; 98 return 0;
99} 99}
100 100
101struct platform_driver palmz71_panel_driver = { 101static struct platform_driver palmz71_panel_driver = {
102 .probe = palmz71_panel_probe, 102 .probe = palmz71_panel_probe,
103 .remove = palmz71_panel_remove, 103 .remove = palmz71_panel_remove,
104 .suspend = palmz71_panel_suspend, 104 .suspend = palmz71_panel_suspend,
@@ -109,15 +109,4 @@ struct platform_driver palmz71_panel_driver = {
109 }, 109 },
110}; 110};
111 111
112static int __init palmz71_panel_drv_init(void) 112module_platform_driver(palmz71_panel_driver);
113{
114 return platform_driver_register(&palmz71_panel_driver);
115}
116
117static void __exit palmz71_panel_drv_cleanup(void)
118{
119 platform_driver_unregister(&palmz71_panel_driver);
120}
121
122module_init(palmz71_panel_drv_init);
123module_exit(palmz71_panel_drv_cleanup);