diff options
Diffstat (limited to 'arch/powerpc/sysdev/fsl_rio.c')
-rw-r--r-- | arch/powerpc/sysdev/fsl_rio.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl_rio.c index 8c6cab013278..3eff2c3a9ad5 100644 --- a/arch/powerpc/sysdev/fsl_rio.c +++ b/arch/powerpc/sysdev/fsl_rio.c | |||
@@ -1570,8 +1570,7 @@ err_ops: | |||
1570 | 1570 | ||
1571 | /* The probe function for RapidIO peer-to-peer network. | 1571 | /* The probe function for RapidIO peer-to-peer network. |
1572 | */ | 1572 | */ |
1573 | static int __devinit fsl_of_rio_rpn_probe(struct platform_device *dev, | 1573 | static int __devinit fsl_of_rio_rpn_probe(struct platform_device *dev) |
1574 | const struct of_device_id *match) | ||
1575 | { | 1574 | { |
1576 | int rc; | 1575 | int rc; |
1577 | printk(KERN_INFO "Setting up RapidIO peer-to-peer network %s\n", | 1576 | printk(KERN_INFO "Setting up RapidIO peer-to-peer network %s\n", |
@@ -1594,7 +1593,7 @@ static const struct of_device_id fsl_of_rio_rpn_ids[] = { | |||
1594 | {}, | 1593 | {}, |
1595 | }; | 1594 | }; |
1596 | 1595 | ||
1597 | static struct of_platform_driver fsl_of_rio_rpn_driver = { | 1596 | static struct platform_driver fsl_of_rio_rpn_driver = { |
1598 | .driver = { | 1597 | .driver = { |
1599 | .name = "fsl-of-rio", | 1598 | .name = "fsl-of-rio", |
1600 | .owner = THIS_MODULE, | 1599 | .owner = THIS_MODULE, |
@@ -1605,7 +1604,7 @@ static struct of_platform_driver fsl_of_rio_rpn_driver = { | |||
1605 | 1604 | ||
1606 | static __init int fsl_of_rio_rpn_init(void) | 1605 | static __init int fsl_of_rio_rpn_init(void) |
1607 | { | 1606 | { |
1608 | return of_register_platform_driver(&fsl_of_rio_rpn_driver); | 1607 | return platform_driver_register(&fsl_of_rio_rpn_driver); |
1609 | } | 1608 | } |
1610 | 1609 | ||
1611 | subsys_initcall(fsl_of_rio_rpn_init); | 1610 | subsys_initcall(fsl_of_rio_rpn_init); |