]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/net/phy/at803x.c
net: phy: at803x: don't pass function pointers with &
[karo-tx-linux.git] / drivers / net / phy / at803x.c
index ac22283aaf23213ab9bf9d931f76df602ccea09d..417922810c791ce66ecde3dc481e198aa27b52d1 100644 (file)
@@ -163,8 +163,8 @@ static struct phy_driver at803x_driver[] = {
        .get_wol        = at803x_get_wol,
        .features       = PHY_GBIT_FEATURES,
        .flags          = PHY_HAS_INTERRUPT,
-       .config_aneg    = &genphy_config_aneg,
-       .read_status    = &genphy_read_status,
+       .config_aneg    = genphy_config_aneg,
+       .read_status    = genphy_read_status,
        .driver         = {
                .owner = THIS_MODULE,
        },
@@ -178,8 +178,8 @@ static struct phy_driver at803x_driver[] = {
        .get_wol        = at803x_get_wol,
        .features       = PHY_GBIT_FEATURES,
        .flags          = PHY_HAS_INTERRUPT,
-       .config_aneg    = &genphy_config_aneg,
-       .read_status    = &genphy_read_status,
+       .config_aneg    = genphy_config_aneg,
+       .read_status    = genphy_read_status,
        .driver         = {
                .owner = THIS_MODULE,
        },
@@ -193,8 +193,8 @@ static struct phy_driver at803x_driver[] = {
        .get_wol        = at803x_get_wol,
        .features       = PHY_GBIT_FEATURES,
        .flags          = PHY_HAS_INTERRUPT,
-       .config_aneg    = &genphy_config_aneg,
-       .read_status    = &genphy_read_status,
+       .config_aneg    = genphy_config_aneg,
+       .read_status    = genphy_read_status,
        .driver         = {
                .owner = THIS_MODULE,
        },