diff options
-rw-r--r-- | arch/powerpc/platforms/pasemi/gpio_mdio.c | 4 | ||||
-rw-r--r-- | arch/powerpc/sysdev/axonram.c | 8 | ||||
-rw-r--r-- | arch/powerpc/sysdev/pmi.c | 6 |
3 files changed, 12 insertions, 6 deletions
diff --git a/arch/powerpc/platforms/pasemi/gpio_mdio.c b/arch/powerpc/platforms/pasemi/gpio_mdio.c index c91a33593bb8..dae9f658122e 100644 --- a/arch/powerpc/platforms/pasemi/gpio_mdio.c +++ b/arch/powerpc/platforms/pasemi/gpio_mdio.c | |||
@@ -320,10 +320,12 @@ static struct of_device_id gpio_mdio_match[] = | |||
320 | 320 | ||
321 | static struct of_platform_driver gpio_mdio_driver = | 321 | static struct of_platform_driver gpio_mdio_driver = |
322 | { | 322 | { |
323 | .name = "gpio-mdio-bitbang", | ||
324 | .match_table = gpio_mdio_match, | 323 | .match_table = gpio_mdio_match, |
325 | .probe = gpio_mdio_probe, | 324 | .probe = gpio_mdio_probe, |
326 | .remove = gpio_mdio_remove, | 325 | .remove = gpio_mdio_remove, |
326 | .driver = { | ||
327 | .name = "gpio-mdio-bitbang", | ||
328 | }, | ||
327 | }; | 329 | }; |
328 | 330 | ||
329 | int gpio_mdio_init(void) | 331 | int gpio_mdio_init(void) |
diff --git a/arch/powerpc/sysdev/axonram.c b/arch/powerpc/sysdev/axonram.c index ab037a3a40db..4d3ba63bba79 100644 --- a/arch/powerpc/sysdev/axonram.c +++ b/arch/powerpc/sysdev/axonram.c | |||
@@ -324,11 +324,13 @@ static struct of_device_id axon_ram_device_id[] = { | |||
324 | }; | 324 | }; |
325 | 325 | ||
326 | static struct of_platform_driver axon_ram_driver = { | 326 | static struct of_platform_driver axon_ram_driver = { |
327 | .owner = THIS_MODULE, | ||
328 | .name = AXON_RAM_MODULE_NAME, | ||
329 | .match_table = axon_ram_device_id, | 327 | .match_table = axon_ram_device_id, |
330 | .probe = axon_ram_probe, | 328 | .probe = axon_ram_probe, |
331 | .remove = axon_ram_remove | 329 | .remove = axon_ram_remove, |
330 | .driver = { | ||
331 | .owner = THIS_MODULE, | ||
332 | .name = AXON_RAM_MODULE_NAME, | ||
333 | }, | ||
332 | }; | 334 | }; |
333 | 335 | ||
334 | /** | 336 | /** |
diff --git a/arch/powerpc/sysdev/pmi.c b/arch/powerpc/sysdev/pmi.c index 2f91b55b7754..20edd1e94eff 100644 --- a/arch/powerpc/sysdev/pmi.c +++ b/arch/powerpc/sysdev/pmi.c | |||
@@ -205,10 +205,12 @@ static int pmi_of_remove(struct of_device *dev) | |||
205 | } | 205 | } |
206 | 206 | ||
207 | static struct of_platform_driver pmi_of_platform_driver = { | 207 | static struct of_platform_driver pmi_of_platform_driver = { |
208 | .name = "pmi", | ||
209 | .match_table = pmi_match, | 208 | .match_table = pmi_match, |
210 | .probe = pmi_of_probe, | 209 | .probe = pmi_of_probe, |
211 | .remove = pmi_of_remove | 210 | .remove = pmi_of_remove, |
211 | .driver = { | ||
212 | .name = "pmi", | ||
213 | }, | ||
212 | }; | 214 | }; |
213 | 215 | ||
214 | static int __init pmi_module_init(void) | 216 | static int __init pmi_module_init(void) |