]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/of/of_net.c
Merge remote-tracking branch 'gpio/for-next'
[karo-tx-linux.git] / drivers / of / of_net.c
index ea174c8ee34b56502860f78f94ba61df48fe764e..8f9be2e099376981d7a4c39b87dbcc7de715a7ca 100644 (file)
@@ -39,7 +39,7 @@ static const char *phy_modes[] = {
  * The function gets phy interface string from property 'phy-mode',
  * and return its index in phy_modes table, or errno in error case.
  */
-const int of_get_phy_mode(struct device_node *np)
+int of_get_phy_mode(struct device_node *np)
 {
        const char *pm;
        int err, i;