]>
Commit | Line | Data |
---|---|---|
00e5a55c BS |
1 | Subject: add missing module symlink to /sys/bus/*/driver/* in struct of_platform_driver |
2 | From: olh@suse.de | |
3 | --- | |
4 | Documentation/sparc/sbus_drivers.txt | 1 + | |
5 | arch/powerpc/kernel/of_platform.c | 1 + | |
6 | arch/powerpc/platforms/52xx/mpc52xx_gpio.c | 3 +++ | |
7 | arch/powerpc/platforms/82xx/ep8248e.c | 1 + | |
8 | arch/powerpc/platforms/83xx/suspend.c | 1 + | |
9 | arch/powerpc/platforms/cell/axon_msi.c | 1 + | |
10 | arch/powerpc/platforms/pasemi/gpio_mdio.c | 1 + | |
11 | arch/powerpc/sysdev/fsl_msi.c | 1 + | |
12 | arch/powerpc/sysdev/fsl_rio.c | 1 + | |
13 | arch/powerpc/sysdev/pmi.c | 1 + | |
14 | arch/sparc/include/asm/parport.h | 1 + | |
15 | arch/sparc/kernel/time.c | 1 + | |
16 | arch/sparc64/kernel/auxio.c | 1 + | |
17 | arch/sparc64/kernel/power.c | 1 + | |
18 | arch/sparc64/kernel/time.c | 1 + | |
19 | drivers/ata/pata_of_platform.c | 1 + | |
20 | drivers/ata/sata_fsl.c | 1 + | |
21 | drivers/char/hw_random/n2-drv.c | 1 + | |
22 | drivers/char/hw_random/pasemi-rng.c | 1 + | |
23 | drivers/char/ipmi/ipmi_si_intf.c | 1 + | |
24 | drivers/crypto/talitos.c | 1 + | |
25 | drivers/dma/fsldma.c | 2 ++ | |
26 | drivers/i2c/busses/i2c-ibm_iic.c | 1 + | |
27 | drivers/infiniband/hw/ehca/ehca_main.c | 1 + | |
28 | drivers/input/misc/sparcspkr.c | 2 ++ | |
29 | drivers/input/serio/i8042-sparcio.h | 1 + | |
30 | drivers/input/serio/xilinx_ps2.c | 1 + | |
31 | drivers/macintosh/smu.c | 1 + | |
32 | drivers/macintosh/therm_pm72.c | 1 + | |
33 | drivers/macintosh/therm_windtunnel.c | 1 + | |
34 | drivers/mtd/maps/physmap_of.c | 1 + | |
35 | drivers/mtd/maps/sun_uflash.c | 1 + | |
36 | drivers/mtd/nand/fsl_elbc_nand.c | 1 + | |
37 | drivers/mtd/nand/fsl_upm.c | 1 + | |
38 | drivers/mtd/nand/pasemi_nand.c | 1 + | |
39 | drivers/net/ehea/ehea_main.c | 1 + | |
40 | drivers/net/fec_mpc52xx_phy.c | 1 + | |
41 | drivers/net/fs_enet/fs_enet-main.c | 1 + | |
42 | drivers/net/fs_enet/mii-bitbang.c | 1 + | |
43 | drivers/net/fs_enet/mii-fec.c | 1 + | |
44 | drivers/net/ibm_newemac/core.c | 1 + | |
45 | drivers/net/ibm_newemac/mal.c | 1 + | |
46 | drivers/net/ibm_newemac/rgmii.c | 1 + | |
47 | drivers/net/ibm_newemac/tah.c | 1 + | |
48 | drivers/net/ibm_newemac/zmii.c | 1 + | |
49 | drivers/net/myri_sbus.c | 1 + | |
50 | drivers/net/niu.c | 1 + | |
51 | drivers/net/phy/mdio-ofgpio.c | 1 + | |
52 | drivers/net/sunbmac.c | 1 + | |
53 | drivers/net/sunhme.c | 1 + | |
54 | drivers/net/sunlance.c | 1 + | |
55 | drivers/net/sunqe.c | 1 + | |
56 | drivers/net/ucc_geth.c | 1 + | |
57 | drivers/net/ucc_geth_mii.c | 1 + | |
58 | drivers/parport/parport_sunbpp.c | 1 + | |
59 | drivers/pcmcia/electra_cf.c | 1 + | |
60 | drivers/pcmcia/m8xx_pcmcia.c | 1 + | |
61 | drivers/scsi/qlogicpti.c | 1 + | |
62 | drivers/scsi/sun_esp.c | 1 + | |
63 | drivers/serial/cpm_uart/cpm_uart_core.c | 1 + | |
64 | drivers/serial/mpc52xx_uart.c | 1 + | |
65 | drivers/serial/sunhv.c | 1 + | |
66 | drivers/serial/sunsab.c | 1 + | |
67 | drivers/serial/sunsu.c | 1 + | |
68 | drivers/serial/sunzilog.c | 1 + | |
69 | drivers/usb/host/isp1760-if.c | 1 + | |
70 | drivers/video/bw2.c | 1 + | |
71 | drivers/video/cg14.c | 1 + | |
72 | drivers/video/cg3.c | 1 + | |
73 | drivers/video/cg6.c | 1 + | |
74 | drivers/video/ffb.c | 1 + | |
75 | drivers/video/leo.c | 1 + | |
76 | drivers/video/p9100.c | 1 + | |
77 | drivers/video/platinumfb.c | 1 + | |
78 | drivers/video/tcx.c | 1 + | |
79 | sound/sparc/amd7930.c | 1 + | |
80 | sound/sparc/dbri.c | 1 + | |
81 | 77 files changed, 81 insertions(+) | |
82 | ||
83 | --- a/arch/powerpc/kernel/of_platform.c | |
84 | +++ b/arch/powerpc/kernel/of_platform.c | |
85 | @@ -307,6 +307,7 @@ static struct of_device_id of_pci_phb_id | |
86 | }; | |
87 | ||
88 | static struct of_platform_driver of_pci_phb_driver = { | |
89 | + .owner = THIS_MODULE, | |
90 | .match_table = of_pci_phb_ids, | |
91 | .probe = of_pci_phb_probe, | |
92 | .driver = { | |
93 | --- a/arch/powerpc/platforms/52xx/mpc52xx_gpio.c | |
94 | +++ b/arch/powerpc/platforms/52xx/mpc52xx_gpio.c | |
95 | @@ -192,6 +192,7 @@ static const struct of_device_id mpc52xx | |
96 | }; | |
97 | ||
98 | static struct of_platform_driver mpc52xx_wkup_gpiochip_driver = { | |
99 | + .owner = THIS_MODULE, | |
100 | .name = "gpio_wkup", | |
101 | .match_table = mpc52xx_wkup_gpiochip_match, | |
102 | .probe = mpc52xx_wkup_gpiochip_probe, | |
103 | @@ -348,6 +349,7 @@ static const struct of_device_id mpc52xx | |
104 | }; | |
105 | ||
106 | static struct of_platform_driver mpc52xx_simple_gpiochip_driver = { | |
107 | + .owner = THIS_MODULE, | |
108 | .name = "gpio", | |
109 | .match_table = mpc52xx_simple_gpiochip_match, | |
110 | .probe = mpc52xx_simple_gpiochip_probe, | |
111 | @@ -433,6 +435,7 @@ static const struct of_device_id mpc52xx | |
112 | }; | |
113 | ||
114 | static struct of_platform_driver mpc52xx_gpt_gpiochip_driver = { | |
115 | + .owner = THIS_MODULE, | |
116 | .name = "gpio_gpt", | |
117 | .match_table = mpc52xx_gpt_gpiochip_match, | |
118 | .probe = mpc52xx_gpt_gpiochip_probe, | |
119 | --- a/arch/powerpc/platforms/82xx/ep8248e.c | |
120 | +++ b/arch/powerpc/platforms/82xx/ep8248e.c | |
121 | @@ -163,6 +163,7 @@ static struct of_platform_driver ep8248e | |
122 | .match_table = ep8248e_mdio_match, | |
123 | .probe = ep8248e_mdio_probe, | |
124 | .remove = ep8248e_mdio_remove, | |
125 | + .owner = THIS_MODULE, | |
126 | }; | |
127 | ||
128 | struct cpm_pin { | |
129 | --- a/arch/powerpc/platforms/83xx/suspend.c | |
130 | +++ b/arch/powerpc/platforms/83xx/suspend.c | |
131 | @@ -374,6 +374,7 @@ static struct of_device_id pmc_match[] = | |
132 | }; | |
133 | ||
134 | static struct of_platform_driver pmc_driver = { | |
135 | + .owner = THIS_MODULE, | |
136 | .name = "mpc83xx-pmc", | |
137 | .match_table = pmc_match, | |
138 | .probe = pmc_probe, | |
139 | --- a/arch/powerpc/platforms/cell/axon_msi.c | |
140 | +++ b/arch/powerpc/platforms/cell/axon_msi.c | |
141 | @@ -417,6 +417,7 @@ static const struct of_device_id axon_ms | |
142 | }; | |
143 | ||
144 | static struct of_platform_driver axon_msi_driver = { | |
145 | + .owner = THIS_MODULE, | |
146 | .match_table = axon_msi_device_id, | |
147 | .probe = axon_msi_probe, | |
148 | .shutdown = axon_msi_shutdown, | |
149 | --- a/arch/powerpc/platforms/pasemi/gpio_mdio.c | |
150 | +++ b/arch/powerpc/platforms/pasemi/gpio_mdio.c | |
151 | @@ -322,6 +322,7 @@ MODULE_DEVICE_TABLE(of, gpio_mdio_match) | |
152 | ||
153 | static struct of_platform_driver gpio_mdio_driver = | |
154 | { | |
155 | + .owner = THIS_MODULE, | |
156 | .match_table = gpio_mdio_match, | |
157 | .probe = gpio_mdio_probe, | |
158 | .remove = gpio_mdio_remove, | |
159 | --- a/arch/powerpc/sysdev/fsl_msi.c | |
160 | +++ b/arch/powerpc/sysdev/fsl_msi.c | |
161 | @@ -416,6 +416,7 @@ static const struct of_device_id fsl_of_ | |
162 | }; | |
163 | ||
164 | static struct of_platform_driver fsl_of_msi_driver = { | |
165 | + .owner = THIS_MODULE, | |
166 | .name = "fsl-msi", | |
167 | .match_table = fsl_of_msi_ids, | |
168 | .probe = fsl_of_msi_probe, | |
169 | --- a/arch/powerpc/sysdev/fsl_rio.c | |
170 | +++ b/arch/powerpc/sysdev/fsl_rio.c | |
171 | @@ -1197,6 +1197,7 @@ static const struct of_device_id fsl_of_ | |
172 | }; | |
173 | ||
174 | static struct of_platform_driver fsl_of_rio_rpn_driver = { | |
175 | + .owner = THIS_MODULE, | |
176 | .name = "fsl-of-rio", | |
177 | .match_table = fsl_of_rio_rpn_ids, | |
178 | .probe = fsl_of_rio_rpn_probe, | |
179 | --- a/arch/powerpc/sysdev/pmi.c | |
180 | +++ b/arch/powerpc/sysdev/pmi.c | |
181 | @@ -205,6 +205,7 @@ static int pmi_of_remove(struct of_devic | |
182 | } | |
183 | ||
184 | static struct of_platform_driver pmi_of_platform_driver = { | |
185 | + .owner = THIS_MODULE, | |
186 | .match_table = pmi_match, | |
187 | .probe = pmi_of_probe, | |
188 | .remove = pmi_of_remove, | |
189 | --- a/arch/sparc64/kernel/auxio.c | |
190 | +++ b/arch/sparc64/kernel/auxio.c | |
191 | @@ -148,6 +148,7 @@ static int __devinit auxio_probe(struct | |
192 | } | |
193 | ||
194 | static struct of_platform_driver auxio_driver = { | |
195 | + .owner = THIS_MODULE, | |
196 | .match_table = auxio_match, | |
197 | .probe = auxio_probe, | |
198 | .driver = { | |
199 | --- a/arch/sparc64/kernel/power.c | |
200 | +++ b/arch/sparc64/kernel/power.c | |
201 | @@ -104,6 +104,7 @@ static struct of_device_id power_match[] | |
202 | }; | |
203 | ||
204 | static struct of_platform_driver power_driver = { | |
205 | + .owner = THIS_MODULE, | |
206 | .match_table = power_match, | |
207 | .probe = power_probe, | |
208 | .driver = { | |
209 | --- a/arch/sparc64/kernel/time.c | |
210 | +++ b/arch/sparc64/kernel/time.c | |
211 | @@ -777,6 +777,7 @@ static struct of_device_id clock_match[] | |
212 | }; | |
213 | ||
214 | static struct of_platform_driver clock_driver = { | |
215 | + .owner = THIS_MODULE, | |
216 | .match_table = clock_match, | |
217 | .probe = clock_probe, | |
218 | .driver = { | |
219 | --- a/arch/sparc/include/asm/parport.h | |
220 | +++ b/arch/sparc/include/asm/parport.h | |
221 | @@ -231,6 +231,7 @@ static struct of_device_id ecpp_match[] | |
222 | }; | |
223 | ||
224 | static struct of_platform_driver ecpp_driver = { | |
225 | + .owner = THIS_MODULE, | |
226 | .name = "ecpp", | |
227 | .match_table = ecpp_match, | |
228 | .probe = ecpp_probe, | |
229 | --- a/arch/sparc/kernel/time.c | |
230 | +++ b/arch/sparc/kernel/time.c | |
231 | @@ -345,6 +345,7 @@ static struct of_device_id clock_match[] | |
232 | }; | |
233 | ||
234 | static struct of_platform_driver clock_driver = { | |
235 | + .owner = THIS_MODULE, | |
236 | .match_table = clock_match, | |
237 | .probe = clock_probe, | |
238 | .driver = { | |
239 | --- a/Documentation/sparc/sbus_drivers.txt | |
240 | +++ b/Documentation/sparc/sbus_drivers.txt | |
241 | @@ -68,6 +68,7 @@ probe in an SBUS driver under Linux: | |
242 | ||
243 | static struct of_platform_driver mydevice_driver = { | |
244 | .match_table = mydevice_match, | |
245 | + .owner = THIS_MODULE, | |
246 | .probe = mydevice_probe, | |
247 | .remove = __devexit_p(mydevice_remove), | |
248 | .driver = { | |
249 | --- a/drivers/ata/pata_of_platform.c | |
250 | +++ b/drivers/ata/pata_of_platform.c | |
251 | @@ -91,6 +91,7 @@ static struct of_device_id pata_of_platf | |
252 | MODULE_DEVICE_TABLE(of, pata_of_platform_match); | |
253 | ||
254 | static struct of_platform_driver pata_of_platform_driver = { | |
255 | + .owner = THIS_MODULE, | |
256 | .name = "pata_of_platform", | |
257 | .match_table = pata_of_platform_match, | |
258 | .probe = pata_of_platform_probe, | |
259 | --- a/drivers/ata/sata_fsl.c | |
260 | +++ b/drivers/ata/sata_fsl.c | |
261 | @@ -1385,6 +1385,7 @@ static struct of_device_id fsl_sata_matc | |
262 | MODULE_DEVICE_TABLE(of, fsl_sata_match); | |
263 | ||
264 | static struct of_platform_driver fsl_sata_driver = { | |
265 | + .owner = THIS_MODULE, | |
266 | .name = "fsl-sata", | |
267 | .match_table = fsl_sata_match, | |
268 | .probe = sata_fsl_probe, | |
269 | --- a/drivers/char/hw_random/n2-drv.c | |
270 | +++ b/drivers/char/hw_random/n2-drv.c | |
271 | @@ -751,6 +751,7 @@ static struct of_device_id n2rng_match[] | |
272 | MODULE_DEVICE_TABLE(of, n2rng_match); | |
273 | ||
274 | static struct of_platform_driver n2rng_driver = { | |
275 | + .owner = THIS_MODULE, | |
276 | .name = "n2rng", | |
277 | .match_table = n2rng_match, | |
278 | .probe = n2rng_probe, | |
279 | --- a/drivers/char/hw_random/pasemi-rng.c | |
280 | +++ b/drivers/char/hw_random/pasemi-rng.c | |
281 | @@ -140,6 +140,7 @@ static struct of_device_id rng_match[] = | |
282 | }; | |
283 | ||
284 | static struct of_platform_driver rng_driver = { | |
285 | + .owner = THIS_MODULE, | |
286 | .name = "pasemi-rng", | |
287 | .match_table = rng_match, | |
288 | .probe = rng_probe, | |
289 | --- a/drivers/char/ipmi/ipmi_si_intf.c | |
290 | +++ b/drivers/char/ipmi/ipmi_si_intf.c | |
291 | @@ -2400,6 +2400,7 @@ static struct of_device_id ipmi_match[] | |
292 | }; | |
293 | ||
294 | static struct of_platform_driver ipmi_of_platform_driver = { | |
295 | + .owner = THIS_MODULE, | |
296 | .name = "ipmi", | |
297 | .match_table = ipmi_match, | |
298 | .probe = ipmi_of_probe, | |
299 | --- a/drivers/crypto/talitos.c | |
300 | +++ b/drivers/crypto/talitos.c | |
301 | @@ -1619,6 +1619,7 @@ static struct of_device_id talitos_match | |
302 | MODULE_DEVICE_TABLE(of, talitos_match); | |
303 | ||
304 | static struct of_platform_driver talitos_driver = { | |
305 | + .owner = THIS_MODULE, | |
306 | .name = "talitos", | |
307 | .match_table = talitos_match, | |
308 | .probe = talitos_probe, | |
309 | --- a/drivers/dma/fsldma.c | |
310 | +++ b/drivers/dma/fsldma.c | |
311 | @@ -1036,6 +1036,7 @@ static struct of_device_id of_fsl_dma_ch | |
312 | }; | |
313 | ||
314 | static struct of_platform_driver of_fsl_dma_chan_driver = { | |
315 | + .owner = THIS_MODULE, | |
316 | .name = "of-fsl-dma-channel", | |
317 | .match_table = of_fsl_dma_chan_ids, | |
318 | .probe = of_fsl_dma_chan_probe, | |
319 | @@ -1116,6 +1117,7 @@ static struct of_device_id of_fsl_dma_id | |
320 | }; | |
321 | ||
322 | static struct of_platform_driver of_fsl_dma_driver = { | |
323 | + .owner = THIS_MODULE, | |
324 | .name = "of-fsl-dma", | |
325 | .match_table = of_fsl_dma_ids, | |
326 | .probe = of_fsl_dma_probe, | |
327 | --- a/drivers/i2c/busses/i2c-ibm_iic.c | |
328 | +++ b/drivers/i2c/busses/i2c-ibm_iic.c | |
329 | @@ -807,6 +807,7 @@ static const struct of_device_id ibm_iic | |
330 | }; | |
331 | ||
332 | static struct of_platform_driver ibm_iic_driver = { | |
333 | + .owner = THIS_MODULE, | |
334 | .name = "ibm-iic", | |
335 | .match_table = ibm_iic_match, | |
336 | .probe = iic_probe, | |
337 | --- a/drivers/infiniband/hw/ehca/ehca_main.c | |
338 | +++ b/drivers/infiniband/hw/ehca/ehca_main.c | |
339 | @@ -927,6 +927,7 @@ MODULE_DEVICE_TABLE(of, ehca_device_tabl | |
340 | ||
341 | static struct of_platform_driver ehca_driver = { | |
342 | .name = "ehca", | |
343 | + .owner = THIS_MODULE, | |
344 | .match_table = ehca_device_table, | |
345 | .probe = ehca_probe, | |
346 | .remove = ehca_remove, | |
347 | --- a/drivers/input/misc/sparcspkr.c | |
348 | +++ b/drivers/input/misc/sparcspkr.c | |
349 | @@ -258,6 +258,7 @@ static struct of_device_id bbc_beep_matc | |
350 | }; | |
351 | ||
352 | static struct of_platform_driver bbc_beep_driver = { | |
353 | + .owner = THIS_MODULE, | |
354 | .name = "bbcbeep", | |
355 | .match_table = bbc_beep_match, | |
356 | .probe = bbc_beep_probe, | |
357 | @@ -337,6 +338,7 @@ static struct of_device_id grover_beep_m | |
358 | }; | |
359 | ||
360 | static struct of_platform_driver grover_beep_driver = { | |
361 | + .owner = THIS_MODULE, | |
362 | .name = "groverbeep", | |
363 | .match_table = grover_beep_match, | |
364 | .probe = grover_beep_probe, | |
365 | --- a/drivers/input/serio/i8042-sparcio.h | |
366 | +++ b/drivers/input/serio/i8042-sparcio.h | |
367 | @@ -96,6 +96,7 @@ static struct of_device_id sparc_i8042_m | |
368 | MODULE_DEVICE_TABLE(of, sparc_i8042_match); | |
369 | ||
370 | static struct of_platform_driver sparc_i8042_driver = { | |
371 | + .owner = THIS_MODULE, | |
372 | .name = "i8042", | |
373 | .match_table = sparc_i8042_match, | |
374 | .probe = sparc_i8042_probe, | |
375 | --- a/drivers/input/serio/xilinx_ps2.c | |
376 | +++ b/drivers/input/serio/xilinx_ps2.c | |
377 | @@ -355,6 +355,7 @@ static struct of_device_id xps2_of_match | |
378 | MODULE_DEVICE_TABLE(of, xps2_of_match); | |
379 | ||
380 | static struct of_platform_driver xps2_of_driver = { | |
381 | + .owner = THIS_MODULE, | |
382 | .name = DRIVER_NAME, | |
383 | .match_table = xps2_of_match, | |
384 | .probe = xps2_of_probe, | |
385 | --- a/drivers/macintosh/smu.c | |
386 | +++ b/drivers/macintosh/smu.c | |
387 | @@ -670,6 +670,7 @@ static struct of_device_id smu_platform_ | |
388 | ||
389 | static struct of_platform_driver smu_of_platform_driver = | |
390 | { | |
391 | + .owner = THIS_MODULE, | |
392 | .name = "smu", | |
393 | .match_table = smu_platform_match, | |
394 | .probe = smu_platform_probe, | |
395 | --- a/drivers/macintosh/therm_pm72.c | |
396 | +++ b/drivers/macintosh/therm_pm72.c | |
397 | @@ -2220,6 +2220,7 @@ static struct of_device_id fcu_match[] = | |
398 | ||
399 | static struct of_platform_driver fcu_of_platform_driver = | |
400 | { | |
401 | + .owner = THIS_MODULE, | |
402 | .name = "temperature", | |
403 | .match_table = fcu_match, | |
404 | .probe = fcu_of_probe, | |
405 | --- a/drivers/macintosh/therm_windtunnel.c | |
406 | +++ b/drivers/macintosh/therm_windtunnel.c | |
407 | @@ -470,6 +470,7 @@ static struct of_device_id therm_of_matc | |
408 | }; | |
409 | ||
410 | static struct of_platform_driver therm_of_driver = { | |
411 | + .owner = THIS_MODULE, | |
412 | .name = "temperature", | |
413 | .match_table = therm_of_match, | |
414 | .probe = therm_of_probe, | |
415 | --- a/drivers/mtd/maps/physmap_of.c | |
416 | +++ b/drivers/mtd/maps/physmap_of.c | |
417 | @@ -281,6 +281,7 @@ static struct of_device_id of_flash_matc | |
418 | MODULE_DEVICE_TABLE(of, of_flash_match); | |
419 | ||
420 | static struct of_platform_driver of_flash_driver = { | |
421 | + .owner = THIS_MODULE, | |
422 | .name = "of-flash", | |
423 | .match_table = of_flash_match, | |
424 | .probe = of_flash_probe, | |
425 | --- a/drivers/mtd/maps/sun_uflash.c | |
426 | +++ b/drivers/mtd/maps/sun_uflash.c | |
427 | @@ -151,6 +151,7 @@ static struct of_device_id uflash_match[ | |
428 | MODULE_DEVICE_TABLE(of, uflash_match); | |
429 | ||
430 | static struct of_platform_driver uflash_driver = { | |
431 | + .owner = THIS_MODULE, | |
432 | .name = UFLASH_DEVNAME, | |
433 | .match_table = uflash_match, | |
434 | .probe = uflash_probe, | |
435 | --- a/drivers/mtd/nand/fsl_elbc_nand.c | |
436 | +++ b/drivers/mtd/nand/fsl_elbc_nand.c | |
437 | @@ -1079,6 +1079,7 @@ static const struct of_device_id fsl_elb | |
438 | static struct of_platform_driver fsl_elbc_ctrl_driver = { | |
439 | .driver = { | |
440 | .name = "fsl-elbc", | |
441 | + .owner = THIS_MODULE, | |
442 | }, | |
443 | .match_table = fsl_elbc_match, | |
444 | .probe = fsl_elbc_ctrl_probe, | |
445 | --- a/drivers/mtd/nand/fsl_upm.c | |
446 | +++ b/drivers/mtd/nand/fsl_upm.c | |
447 | @@ -267,6 +267,7 @@ static struct of_device_id of_fun_match[ | |
448 | MODULE_DEVICE_TABLE(of, of_fun_match); | |
449 | ||
450 | static struct of_platform_driver of_fun_driver = { | |
451 | + .owner = THIS_MODULE, | |
452 | .name = "fsl,upm-nand", | |
453 | .match_table = of_fun_match, | |
454 | .probe = fun_probe, | |
455 | --- a/drivers/mtd/nand/pasemi_nand.c | |
456 | +++ b/drivers/mtd/nand/pasemi_nand.c | |
457 | @@ -220,6 +220,7 @@ MODULE_DEVICE_TABLE(of, pasemi_nand_matc | |
458 | ||
459 | static struct of_platform_driver pasemi_nand_driver = | |
460 | { | |
461 | + .owner = THIS_MODULE, | |
462 | .name = (char*)driver_name, | |
463 | .match_table = pasemi_nand_match, | |
464 | .probe = pasemi_nand_probe, | |
465 | --- a/drivers/net/ehea/ehea_main.c | |
466 | +++ b/drivers/net/ehea/ehea_main.c | |
467 | @@ -122,6 +122,7 @@ MODULE_DEVICE_TABLE(of, ehea_device_tabl | |
468 | ||
469 | static struct of_platform_driver ehea_driver = { | |
470 | .name = "ehea", | |
471 | + .owner = THIS_MODULE, | |
472 | .match_table = ehea_device_table, | |
473 | .probe = ehea_probe_adapter, | |
474 | .remove = ehea_remove, | |
475 | --- a/drivers/net/fec_mpc52xx_phy.c | |
476 | +++ b/drivers/net/fec_mpc52xx_phy.c | |
477 | @@ -185,6 +185,7 @@ static struct of_device_id mpc52xx_fec_m | |
478 | }; | |
479 | ||
480 | struct of_platform_driver mpc52xx_fec_mdio_driver = { | |
481 | + .owner = THIS_MODULE, | |
482 | .name = "mpc5200b-fec-phy", | |
483 | .probe = mpc52xx_fec_mdio_probe, | |
484 | .remove = mpc52xx_fec_mdio_remove, | |
485 | --- a/drivers/net/fs_enet/fs_enet-main.c | |
486 | +++ b/drivers/net/fs_enet/fs_enet-main.c | |
487 | @@ -1192,6 +1192,7 @@ static struct of_device_id fs_enet_match | |
488 | }; | |
489 | ||
490 | static struct of_platform_driver fs_enet_driver = { | |
491 | + .owner = THIS_MODULE, | |
492 | .name = "fs_enet", | |
493 | .match_table = fs_enet_match, | |
494 | .probe = fs_enet_probe, | |
495 | --- a/drivers/net/fs_enet/mii-bitbang.c | |
496 | +++ b/drivers/net/fs_enet/mii-bitbang.c | |
497 | @@ -249,6 +249,7 @@ static struct of_device_id fs_enet_mdio_ | |
498 | }; | |
499 | ||
500 | static struct of_platform_driver fs_enet_bb_mdio_driver = { | |
501 | + .owner = THIS_MODULE, | |
502 | .name = "fsl-bb-mdio", | |
503 | .match_table = fs_enet_mdio_bb_match, | |
504 | .probe = fs_enet_mdio_probe, | |
505 | --- a/drivers/net/fs_enet/mii-fec.c | |
506 | +++ b/drivers/net/fs_enet/mii-fec.c | |
507 | @@ -218,6 +218,7 @@ static struct of_device_id fs_enet_mdio_ | |
508 | }; | |
509 | ||
510 | static struct of_platform_driver fs_enet_fec_mdio_driver = { | |
511 | + .owner = THIS_MODULE, | |
512 | .name = "fsl-fec-mdio", | |
513 | .match_table = fs_enet_mdio_fec_match, | |
514 | .probe = fs_enet_mdio_probe, | |
515 | --- a/drivers/net/ibm_newemac/core.c | |
516 | +++ b/drivers/net/ibm_newemac/core.c | |
517 | @@ -2923,6 +2923,7 @@ static struct of_device_id emac_match[] | |
518 | }; | |
519 | ||
520 | static struct of_platform_driver emac_driver = { | |
521 | + .owner = THIS_MODULE, | |
522 | .name = "emac", | |
523 | .match_table = emac_match, | |
524 | ||
525 | --- a/drivers/net/ibm_newemac/mal.c | |
526 | +++ b/drivers/net/ibm_newemac/mal.c | |
527 | @@ -724,6 +724,7 @@ static struct of_device_id mal_platform_ | |
528 | }; | |
529 | ||
530 | static struct of_platform_driver mal_of_driver = { | |
531 | + .owner = THIS_MODULE, | |
532 | .name = "mcmal", | |
533 | .match_table = mal_platform_match, | |
534 | ||
535 | --- a/drivers/net/ibm_newemac/rgmii.c | |
536 | +++ b/drivers/net/ibm_newemac/rgmii.c | |
537 | @@ -317,6 +317,7 @@ static struct of_device_id rgmii_match[] | |
538 | }; | |
539 | ||
540 | static struct of_platform_driver rgmii_driver = { | |
541 | + .owner = THIS_MODULE, | |
542 | .name = "emac-rgmii", | |
543 | .match_table = rgmii_match, | |
544 | ||
545 | --- a/drivers/net/ibm_newemac/tah.c | |
546 | +++ b/drivers/net/ibm_newemac/tah.c | |
547 | @@ -165,6 +165,7 @@ static struct of_device_id tah_match[] = | |
548 | }; | |
549 | ||
550 | static struct of_platform_driver tah_driver = { | |
551 | + .owner = THIS_MODULE, | |
552 | .name = "emac-tah", | |
553 | .match_table = tah_match, | |
554 | ||
555 | --- a/drivers/net/ibm_newemac/zmii.c | |
556 | +++ b/drivers/net/ibm_newemac/zmii.c | |
557 | @@ -311,6 +311,7 @@ static struct of_device_id zmii_match[] | |
558 | }; | |
559 | ||
560 | static struct of_platform_driver zmii_driver = { | |
561 | + .owner = THIS_MODULE, | |
562 | .name = "emac-zmii", | |
563 | .match_table = zmii_match, | |
564 | ||
565 | --- a/drivers/net/myri_sbus.c | |
566 | +++ b/drivers/net/myri_sbus.c | |
567 | @@ -1150,6 +1150,7 @@ static struct of_device_id myri_sbus_mat | |
568 | MODULE_DEVICE_TABLE(of, myri_sbus_match); | |
569 | ||
570 | static struct of_platform_driver myri_sbus_driver = { | |
571 | + .owner = THIS_MODULE, | |
572 | .name = "myri", | |
573 | .match_table = myri_sbus_match, | |
574 | .probe = myri_sbus_probe, | |
575 | --- a/drivers/net/niu.c | |
576 | +++ b/drivers/net/niu.c | |
577 | @@ -9139,6 +9139,7 @@ static struct of_device_id niu_match[] = | |
578 | MODULE_DEVICE_TABLE(of, niu_match); | |
579 | ||
580 | static struct of_platform_driver niu_of_driver = { | |
581 | + .owner = THIS_MODULE, | |
582 | .name = "niu", | |
583 | .match_table = niu_match, | |
584 | .probe = niu_of_probe, | |
585 | --- a/drivers/net/phy/mdio-ofgpio.c | |
586 | +++ b/drivers/net/phy/mdio-ofgpio.c | |
587 | @@ -185,6 +185,7 @@ static struct of_device_id mdio_ofgpio_m | |
588 | }; | |
589 | ||
590 | static struct of_platform_driver mdio_ofgpio_driver = { | |
591 | + .owner = THIS_MODULE, | |
592 | .name = "mdio-gpio", | |
593 | .match_table = mdio_ofgpio_match, | |
594 | .probe = mdio_ofgpio_probe, | |
595 | --- a/drivers/net/sunbmac.c | |
596 | +++ b/drivers/net/sunbmac.c | |
597 | @@ -1305,6 +1305,7 @@ static struct of_device_id bigmac_sbus_m | |
598 | MODULE_DEVICE_TABLE(of, bigmac_sbus_match); | |
599 | ||
600 | static struct of_platform_driver bigmac_sbus_driver = { | |
601 | + .owner = THIS_MODULE, | |
602 | .name = "sunbmac", | |
603 | .match_table = bigmac_sbus_match, | |
604 | .probe = bigmac_sbus_probe, | |
605 | --- a/drivers/net/sunhme.c | |
606 | +++ b/drivers/net/sunhme.c | |
607 | @@ -3336,6 +3336,7 @@ static struct of_device_id hme_sbus_matc | |
608 | MODULE_DEVICE_TABLE(of, hme_sbus_match); | |
609 | ||
610 | static struct of_platform_driver hme_sbus_driver = { | |
611 | + .owner = THIS_MODULE, | |
612 | .name = "hme", | |
613 | .match_table = hme_sbus_match, | |
614 | .probe = hme_sbus_probe, | |
615 | --- a/drivers/net/sunlance.c | |
616 | +++ b/drivers/net/sunlance.c | |
617 | @@ -1583,6 +1583,7 @@ static struct of_device_id sunlance_sbus | |
618 | MODULE_DEVICE_TABLE(of, sunlance_sbus_match); | |
619 | ||
620 | static struct of_platform_driver sunlance_sbus_driver = { | |
621 | + .owner = THIS_MODULE, | |
622 | .name = "sunlance", | |
623 | .match_table = sunlance_sbus_match, | |
624 | .probe = sunlance_sbus_probe, | |
625 | --- a/drivers/net/sunqe.c | |
626 | +++ b/drivers/net/sunqe.c | |
627 | @@ -983,6 +983,7 @@ static struct of_device_id qec_sbus_matc | |
628 | MODULE_DEVICE_TABLE(of, qec_sbus_match); | |
629 | ||
630 | static struct of_platform_driver qec_sbus_driver = { | |
631 | + .owner = THIS_MODULE, | |
632 | .name = "qec", | |
633 | .match_table = qec_sbus_match, | |
634 | .probe = qec_sbus_probe, | |
635 | --- a/drivers/net/ucc_geth.c | |
636 | +++ b/drivers/net/ucc_geth.c | |
637 | @@ -4083,6 +4083,7 @@ static struct of_device_id ucc_geth_matc | |
638 | MODULE_DEVICE_TABLE(of, ucc_geth_match); | |
639 | ||
640 | static struct of_platform_driver ucc_geth_driver = { | |
641 | + .owner = THIS_MODULE, | |
642 | .name = DRV_NAME, | |
643 | .match_table = ucc_geth_match, | |
644 | .probe = ucc_geth_probe, | |
645 | --- a/drivers/net/ucc_geth_mii.c | |
646 | +++ b/drivers/net/ucc_geth_mii.c | |
647 | @@ -268,6 +268,7 @@ static struct of_device_id uec_mdio_matc | |
648 | }; | |
649 | ||
650 | static struct of_platform_driver uec_mdio_driver = { | |
651 | + .owner = THIS_MODULE, | |
652 | .name = MII_DRV_NAME, | |
653 | .probe = uec_mdio_probe, | |
654 | .remove = uec_mdio_remove, | |
655 | --- a/drivers/parport/parport_sunbpp.c | |
656 | +++ b/drivers/parport/parport_sunbpp.c | |
657 | @@ -389,6 +389,7 @@ static struct of_device_id bpp_match[] = | |
658 | MODULE_DEVICE_TABLE(of, bpp_match); | |
659 | ||
660 | static struct of_platform_driver bpp_sbus_driver = { | |
661 | + .owner = THIS_MODULE, | |
662 | .name = "bpp", | |
663 | .match_table = bpp_match, | |
664 | .probe = bpp_probe, | |
665 | --- a/drivers/pcmcia/electra_cf.c | |
666 | +++ b/drivers/pcmcia/electra_cf.c | |
667 | @@ -356,6 +356,7 @@ static struct of_device_id electra_cf_ma | |
668 | MODULE_DEVICE_TABLE(of, electra_cf_match); | |
669 | ||
670 | static struct of_platform_driver electra_cf_driver = { | |
671 | + .owner = THIS_MODULE, | |
672 | .name = (char *)driver_name, | |
673 | .match_table = electra_cf_match, | |
674 | .probe = electra_cf_probe, | |
675 | --- a/drivers/pcmcia/m8xx_pcmcia.c | |
676 | +++ b/drivers/pcmcia/m8xx_pcmcia.c | |
677 | @@ -1319,6 +1319,7 @@ static struct of_device_id m8xx_pcmcia_m | |
678 | MODULE_DEVICE_TABLE(of, m8xx_pcmcia_match); | |
679 | ||
680 | static struct of_platform_driver m8xx_pcmcia_driver = { | |
681 | + .owner = THIS_MODULE, | |
682 | .name = driver_name, | |
683 | .match_table = m8xx_pcmcia_match, | |
684 | .probe = m8xx_probe, | |
685 | --- a/drivers/scsi/qlogicpti.c | |
686 | +++ b/drivers/scsi/qlogicpti.c | |
687 | @@ -1434,6 +1434,7 @@ static struct of_device_id qpti_match[] | |
688 | MODULE_DEVICE_TABLE(of, qpti_match); | |
689 | ||
690 | static struct of_platform_driver qpti_sbus_driver = { | |
691 | + .owner = THIS_MODULE, | |
692 | .name = "qpti", | |
693 | .match_table = qpti_match, | |
694 | .probe = qpti_sbus_probe, | |
695 | --- a/drivers/scsi/sun_esp.c | |
696 | +++ b/drivers/scsi/sun_esp.c | |
697 | @@ -611,6 +611,7 @@ static struct of_device_id esp_match[] = | |
698 | MODULE_DEVICE_TABLE(of, esp_match); | |
699 | ||
700 | static struct of_platform_driver esp_sbus_driver = { | |
701 | + .owner = THIS_MODULE, | |
702 | .name = "esp", | |
703 | .match_table = esp_match, | |
704 | .probe = esp_sbus_probe, | |
705 | --- a/drivers/serial/cpm_uart/cpm_uart_core.c | |
706 | +++ b/drivers/serial/cpm_uart/cpm_uart_core.c | |
707 | @@ -1359,6 +1359,7 @@ static struct of_device_id cpm_uart_matc | |
708 | }; | |
709 | ||
710 | static struct of_platform_driver cpm_uart_driver = { | |
711 | + .owner = THIS_MODULE, | |
712 | .name = "cpm_uart", | |
713 | .match_table = cpm_uart_match, | |
714 | .probe = cpm_uart_probe, | |
715 | --- a/drivers/serial/mpc52xx_uart.c | |
716 | +++ b/drivers/serial/mpc52xx_uart.c | |
717 | @@ -1391,6 +1391,7 @@ mpc52xx_uart_of_enumerate(void) | |
718 | MODULE_DEVICE_TABLE(of, mpc52xx_uart_of_match); | |
719 | ||
720 | static struct of_platform_driver mpc52xx_uart_of_driver = { | |
721 | + .owner = THIS_MODULE, | |
722 | .match_table = mpc52xx_uart_of_match, | |
723 | .probe = mpc52xx_uart_of_probe, | |
724 | .remove = mpc52xx_uart_of_remove, | |
725 | --- a/drivers/serial/sunhv.c | |
726 | +++ b/drivers/serial/sunhv.c | |
727 | @@ -630,6 +630,7 @@ static struct of_device_id hv_match[] = | |
728 | MODULE_DEVICE_TABLE(of, hv_match); | |
729 | ||
730 | static struct of_platform_driver hv_driver = { | |
731 | + .owner = THIS_MODULE, | |
732 | .name = "hv", | |
733 | .match_table = hv_match, | |
734 | .probe = hv_probe, | |
735 | --- a/drivers/serial/sunsab.c | |
736 | +++ b/drivers/serial/sunsab.c | |
737 | @@ -1091,6 +1091,7 @@ static struct of_device_id sab_match[] = | |
738 | MODULE_DEVICE_TABLE(of, sab_match); | |
739 | ||
740 | static struct of_platform_driver sab_driver = { | |
741 | + .owner = THIS_MODULE, | |
742 | .name = "sab", | |
743 | .match_table = sab_match, | |
744 | .probe = sab_probe, | |
745 | --- a/drivers/serial/sunsu.c | |
746 | +++ b/drivers/serial/sunsu.c | |
747 | @@ -1522,6 +1522,7 @@ static struct of_device_id su_match[] = | |
748 | MODULE_DEVICE_TABLE(of, su_match); | |
749 | ||
750 | static struct of_platform_driver su_driver = { | |
751 | + .owner = THIS_MODULE, | |
752 | .name = "su", | |
753 | .match_table = su_match, | |
754 | .probe = su_probe, | |
755 | --- a/drivers/serial/sunzilog.c | |
756 | +++ b/drivers/serial/sunzilog.c | |
757 | @@ -1489,6 +1489,7 @@ static struct of_device_id zs_match[] = | |
758 | MODULE_DEVICE_TABLE(of, zs_match); | |
759 | ||
760 | static struct of_platform_driver zs_driver = { | |
761 | + .owner = THIS_MODULE, | |
762 | .name = "zs", | |
763 | .match_table = zs_match, | |
764 | .probe = zs_probe, | |
765 | --- a/drivers/usb/host/isp1760-if.c | |
766 | +++ b/drivers/usb/host/isp1760-if.c | |
767 | @@ -121,6 +121,7 @@ static struct of_device_id of_isp1760_ma | |
768 | MODULE_DEVICE_TABLE(of, of_isp1760_match); | |
769 | ||
770 | static struct of_platform_driver isp1760_of_driver = { | |
771 | + .owner = THIS_MODULE, | |
772 | .name = "nxp-isp1760", | |
773 | .match_table = of_isp1760_match, | |
774 | .probe = of_isp1760_probe, | |
775 | --- a/drivers/video/bw2.c | |
776 | +++ b/drivers/video/bw2.c | |
777 | @@ -381,6 +381,7 @@ static struct of_device_id bw2_match[] = | |
778 | MODULE_DEVICE_TABLE(of, bw2_match); | |
779 | ||
780 | static struct of_platform_driver bw2_driver = { | |
781 | + .owner = THIS_MODULE, | |
782 | .name = "bw2", | |
783 | .match_table = bw2_match, | |
784 | .probe = bw2_probe, | |
785 | --- a/drivers/video/cg14.c | |
786 | +++ b/drivers/video/cg14.c | |
787 | @@ -598,6 +598,7 @@ static struct of_device_id cg14_match[] | |
788 | MODULE_DEVICE_TABLE(of, cg14_match); | |
789 | ||
790 | static struct of_platform_driver cg14_driver = { | |
791 | + .owner = THIS_MODULE, | |
792 | .name = "cg14", | |
793 | .match_table = cg14_match, | |
794 | .probe = cg14_probe, | |
795 | --- a/drivers/video/cg3.c | |
796 | +++ b/drivers/video/cg3.c | |
797 | @@ -468,6 +468,7 @@ static struct of_device_id cg3_match[] = | |
798 | MODULE_DEVICE_TABLE(of, cg3_match); | |
799 | ||
800 | static struct of_platform_driver cg3_driver = { | |
801 | + .owner = THIS_MODULE, | |
802 | .name = "cg3", | |
803 | .match_table = cg3_match, | |
804 | .probe = cg3_probe, | |
805 | --- a/drivers/video/cg6.c | |
806 | +++ b/drivers/video/cg6.c | |
807 | @@ -826,6 +826,7 @@ static struct of_device_id cg6_match[] = | |
808 | MODULE_DEVICE_TABLE(of, cg6_match); | |
809 | ||
810 | static struct of_platform_driver cg6_driver = { | |
811 | + .owner = THIS_MODULE, | |
812 | .name = "cg6", | |
813 | .match_table = cg6_match, | |
814 | .probe = cg6_probe, | |
815 | --- a/drivers/video/ffb.c | |
816 | +++ b/drivers/video/ffb.c | |
817 | @@ -1054,6 +1054,7 @@ static struct of_device_id ffb_match[] = | |
818 | MODULE_DEVICE_TABLE(of, ffb_match); | |
819 | ||
820 | static struct of_platform_driver ffb_driver = { | |
821 | + .owner = THIS_MODULE, | |
822 | .name = "ffb", | |
823 | .match_table = ffb_match, | |
824 | .probe = ffb_probe, | |
825 | --- a/drivers/video/leo.c | |
826 | +++ b/drivers/video/leo.c | |
827 | @@ -650,6 +650,7 @@ static struct of_device_id leo_match[] = | |
828 | MODULE_DEVICE_TABLE(of, leo_match); | |
829 | ||
830 | static struct of_platform_driver leo_driver = { | |
831 | + .owner = THIS_MODULE, | |
832 | .name = "leo", | |
833 | .match_table = leo_match, | |
834 | .probe = leo_probe, | |
835 | --- a/drivers/video/p9100.c | |
836 | +++ b/drivers/video/p9100.c | |
837 | @@ -358,6 +358,7 @@ static struct of_device_id p9100_match[] | |
838 | MODULE_DEVICE_TABLE(of, p9100_match); | |
839 | ||
840 | static struct of_platform_driver p9100_driver = { | |
841 | + .owner = THIS_MODULE, | |
842 | .name = "p9100", | |
843 | .match_table = p9100_match, | |
844 | .probe = p9100_probe, | |
845 | --- a/drivers/video/platinumfb.c | |
846 | +++ b/drivers/video/platinumfb.c | |
847 | @@ -674,6 +674,7 @@ static struct of_device_id platinumfb_ma | |
848 | ||
849 | static struct of_platform_driver platinum_driver = | |
850 | { | |
851 | + .owner = THIS_MODULE, | |
852 | .name = "platinumfb", | |
853 | .match_table = platinumfb_match, | |
854 | .probe = platinumfb_probe, | |
855 | --- a/drivers/video/tcx.c | |
856 | +++ b/drivers/video/tcx.c | |
857 | @@ -514,6 +514,7 @@ static struct of_device_id tcx_match[] = | |
858 | MODULE_DEVICE_TABLE(of, tcx_match); | |
859 | ||
860 | static struct of_platform_driver tcx_driver = { | |
861 | + .owner = THIS_MODULE, | |
862 | .name = "tcx", | |
863 | .match_table = tcx_match, | |
864 | .probe = tcx_probe, | |
865 | --- a/sound/sparc/amd7930.c | |
866 | +++ b/sound/sparc/amd7930.c | |
867 | @@ -1108,6 +1108,7 @@ static struct of_device_id amd7930_match | |
868 | }; | |
869 | ||
870 | static struct of_platform_driver amd7930_sbus_driver = { | |
871 | + .owner = THIS_MODULE, | |
872 | .name = "audio", | |
873 | .match_table = amd7930_match, | |
874 | .probe = amd7930_sbus_probe, | |
875 | --- a/sound/sparc/dbri.c | |
876 | +++ b/sound/sparc/dbri.c | |
877 | @@ -2679,6 +2679,7 @@ static struct of_device_id dbri_match[] | |
878 | MODULE_DEVICE_TABLE(of, dbri_match); | |
879 | ||
880 | static struct of_platform_driver dbri_sbus_driver = { | |
881 | + .owner = THIS_MODULE, | |
882 | .name = "dbri", | |
883 | .match_table = dbri_match, | |
884 | .probe = dbri_probe, |