diff options
Diffstat (limited to 'drivers/net/ibm_newemac/zmii.h')
| -rw-r--r-- | drivers/net/ibm_newemac/zmii.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/ibm_newemac/zmii.h b/drivers/net/ibm_newemac/zmii.h index 6c9beba0c4b6..1333fa2b2781 100644 --- a/drivers/net/ibm_newemac/zmii.h +++ b/drivers/net/ibm_newemac/zmii.h | |||
| @@ -48,20 +48,20 @@ struct zmii_instance { | |||
| 48 | u32 fer_save; | 48 | u32 fer_save; |
| 49 | 49 | ||
| 50 | /* OF device instance */ | 50 | /* OF device instance */ |
| 51 | struct of_device *ofdev; | 51 | struct platform_device *ofdev; |
| 52 | }; | 52 | }; |
| 53 | 53 | ||
| 54 | #ifdef CONFIG_IBM_NEW_EMAC_ZMII | 54 | #ifdef CONFIG_IBM_NEW_EMAC_ZMII |
| 55 | 55 | ||
| 56 | extern int zmii_init(void); | 56 | extern int zmii_init(void); |
| 57 | extern void zmii_exit(void); | 57 | extern void zmii_exit(void); |
| 58 | extern int zmii_attach(struct of_device *ofdev, int input, int *mode); | 58 | extern int zmii_attach(struct platform_device *ofdev, int input, int *mode); |
| 59 | extern void zmii_detach(struct of_device *ofdev, int input); | 59 | extern void zmii_detach(struct platform_device *ofdev, int input); |
| 60 | extern void zmii_get_mdio(struct of_device *ofdev, int input); | 60 | extern void zmii_get_mdio(struct platform_device *ofdev, int input); |
| 61 | extern void zmii_put_mdio(struct of_device *ofdev, int input); | 61 | extern void zmii_put_mdio(struct platform_device *ofdev, int input); |
| 62 | extern void zmii_set_speed(struct of_device *ofdev, int input, int speed); | 62 | extern void zmii_set_speed(struct platform_device *ofdev, int input, int speed); |
| 63 | extern int zmii_get_regs_len(struct of_device *ocpdev); | 63 | extern int zmii_get_regs_len(struct platform_device *ocpdev); |
| 64 | extern void *zmii_dump_regs(struct of_device *ofdev, void *buf); | 64 | extern void *zmii_dump_regs(struct platform_device *ofdev, void *buf); |
| 65 | 65 | ||
| 66 | #else | 66 | #else |
| 67 | # define zmii_init() 0 | 67 | # define zmii_init() 0 |
