diff options
Diffstat (limited to 'drivers/net/ibm_newemac/rgmii.h')
| -rw-r--r-- | drivers/net/ibm_newemac/rgmii.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/ibm_newemac/rgmii.h b/drivers/net/ibm_newemac/rgmii.h index c4a4b358a270..d69799049865 100644 --- a/drivers/net/ibm_newemac/rgmii.h +++ b/drivers/net/ibm_newemac/rgmii.h | |||
| @@ -51,20 +51,20 @@ struct rgmii_instance { | |||
| 51 | int users; | 51 | int users; |
| 52 | 52 | ||
| 53 | /* OF device instance */ | 53 | /* OF device instance */ |
| 54 | struct of_device *ofdev; | 54 | struct platform_device *ofdev; |
| 55 | }; | 55 | }; |
| 56 | 56 | ||
| 57 | #ifdef CONFIG_IBM_NEW_EMAC_RGMII | 57 | #ifdef CONFIG_IBM_NEW_EMAC_RGMII |
| 58 | 58 | ||
| 59 | extern int rgmii_init(void); | 59 | extern int rgmii_init(void); |
| 60 | extern void rgmii_exit(void); | 60 | extern void rgmii_exit(void); |
| 61 | extern int rgmii_attach(struct of_device *ofdev, int input, int mode); | 61 | extern int rgmii_attach(struct platform_device *ofdev, int input, int mode); |
| 62 | extern void rgmii_detach(struct of_device *ofdev, int input); | 62 | extern void rgmii_detach(struct platform_device *ofdev, int input); |
| 63 | extern void rgmii_get_mdio(struct of_device *ofdev, int input); | 63 | extern void rgmii_get_mdio(struct platform_device *ofdev, int input); |
| 64 | extern void rgmii_put_mdio(struct of_device *ofdev, int input); | 64 | extern void rgmii_put_mdio(struct platform_device *ofdev, int input); |
| 65 | extern void rgmii_set_speed(struct of_device *ofdev, int input, int speed); | 65 | extern void rgmii_set_speed(struct platform_device *ofdev, int input, int speed); |
| 66 | extern int rgmii_get_regs_len(struct of_device *ofdev); | 66 | extern int rgmii_get_regs_len(struct platform_device *ofdev); |
| 67 | extern void *rgmii_dump_regs(struct of_device *ofdev, void *buf); | 67 | extern void *rgmii_dump_regs(struct platform_device *ofdev, void *buf); |
| 68 | 68 | ||
| 69 | #else | 69 | #else |
| 70 | 70 | ||
