diff options
Diffstat (limited to 'arch/avr32/mach-at32ap/pio.c')
-rw-r--r-- | arch/avr32/mach-at32ap/pio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/avr32/mach-at32ap/pio.c b/arch/avr32/mach-at32ap/pio.c index 90ef538ae547..ef2561e15399 100644 --- a/arch/avr32/mach-at32ap/pio.c +++ b/arch/avr32/mach-at32ap/pio.c | |||
@@ -401,7 +401,6 @@ static int __init pio_probe(struct platform_device *pdev) | |||
401 | } | 401 | } |
402 | 402 | ||
403 | static struct platform_driver pio_driver = { | 403 | static struct platform_driver pio_driver = { |
404 | .probe = pio_probe, | ||
405 | .driver = { | 404 | .driver = { |
406 | .name = "pio", | 405 | .name = "pio", |
407 | }, | 406 | }, |
@@ -409,7 +408,7 @@ static struct platform_driver pio_driver = { | |||
409 | 408 | ||
410 | static int __init pio_init(void) | 409 | static int __init pio_init(void) |
411 | { | 410 | { |
412 | return platform_driver_register(&pio_driver); | 411 | return platform_driver_probe(&pio_driver, pio_probe); |
413 | } | 412 | } |
414 | postcore_initcall(pio_init); | 413 | postcore_initcall(pio_init); |
415 | 414 | ||