summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ibm/emac/zmii.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/ibm/emac/zmii.h')
-rw-r--r--drivers/net/ethernet/ibm/emac/zmii.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/net/ethernet/ibm/emac/zmii.h b/drivers/net/ethernet/ibm/emac/zmii.h
index 0959c55..455bfb0 100644
--- a/drivers/net/ethernet/ibm/emac/zmii.h
+++ b/drivers/net/ethernet/ibm/emac/zmii.h
@@ -53,15 +53,15 @@ struct zmii_instance {
#ifdef CONFIG_IBM_EMAC_ZMII
-int zmii_init(void);
-void zmii_exit(void);
-int zmii_attach(struct platform_device *ofdev, int input, int *mode);
-void zmii_detach(struct platform_device *ofdev, int input);
-void zmii_get_mdio(struct platform_device *ofdev, int input);
-void zmii_put_mdio(struct platform_device *ofdev, int input);
-void zmii_set_speed(struct platform_device *ofdev, int input, int speed);
-int zmii_get_regs_len(struct platform_device *ocpdev);
-void *zmii_dump_regs(struct platform_device *ofdev, void *buf);
+extern int zmii_init(void);
+extern void zmii_exit(void);
+extern int zmii_attach(struct platform_device *ofdev, int input, int *mode);
+extern void zmii_detach(struct platform_device *ofdev, int input);
+extern void zmii_get_mdio(struct platform_device *ofdev, int input);
+extern void zmii_put_mdio(struct platform_device *ofdev, int input);
+extern void zmii_set_speed(struct platform_device *ofdev, int input, int speed);
+extern int zmii_get_regs_len(struct platform_device *ocpdev);
+extern void *zmii_dump_regs(struct platform_device *ofdev, void *buf);
#else
# define zmii_init() 0