]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/gianfar.c
drivers/net: const-ify ethtool_ops declarations
[karo-tx-linux.git] / drivers / net / gianfar.c
index bf3aa275ef4ab60906323cc4e47783fbe106462a..4788a41da1c07fc3d6ef6d30457035af8373e9a3 100644 (file)
@@ -143,7 +143,7 @@ void gfar_start(struct net_device *dev);
 static void gfar_clear_exact_match(struct net_device *dev);
 static void gfar_set_mac_for_addr(struct net_device *dev, int num, u8 *addr);
 
-extern struct ethtool_ops gfar_ethtool_ops;
+extern const struct ethtool_ops gfar_ethtool_ops;
 
 MODULE_AUTHOR("Freescale Semiconductor, Inc");
 MODULE_DESCRIPTION("Gianfar Ethernet Driver");