Commit f8fdbf33 authored by Christian Marangi's avatar Christian Marangi Committed by David S. Miller

net: phy: at803x: fix passing the wrong reference for config_intr

Fix passing the wrong reference for config_initr on passing the function
pointer, drop the wrong & from at803x_config_intr in the PHY struct.
Signed-off-by: default avatarChristian Marangi <ansuelsmth@gmail.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4f7aa122
...@@ -2104,7 +2104,7 @@ static struct phy_driver at803x_driver[] = { ...@@ -2104,7 +2104,7 @@ static struct phy_driver at803x_driver[] = {
.write_page = at803x_write_page, .write_page = at803x_write_page,
.get_features = at803x_get_features, .get_features = at803x_get_features,
.read_status = at803x_read_status, .read_status = at803x_read_status,
.config_intr = &at803x_config_intr, .config_intr = at803x_config_intr,
.handle_interrupt = at803x_handle_interrupt, .handle_interrupt = at803x_handle_interrupt,
.get_tunable = at803x_get_tunable, .get_tunable = at803x_get_tunable,
.set_tunable = at803x_set_tunable, .set_tunable = at803x_set_tunable,
...@@ -2134,7 +2134,7 @@ static struct phy_driver at803x_driver[] = { ...@@ -2134,7 +2134,7 @@ static struct phy_driver at803x_driver[] = {
.resume = at803x_resume, .resume = at803x_resume,
.flags = PHY_POLL_CABLE_TEST, .flags = PHY_POLL_CABLE_TEST,
/* PHY_BASIC_FEATURES */ /* PHY_BASIC_FEATURES */
.config_intr = &at803x_config_intr, .config_intr = at803x_config_intr,
.handle_interrupt = at803x_handle_interrupt, .handle_interrupt = at803x_handle_interrupt,
.cable_test_start = at803x_cable_test_start, .cable_test_start = at803x_cable_test_start,
.cable_test_get_status = at803x_cable_test_get_status, .cable_test_get_status = at803x_cable_test_get_status,
...@@ -2150,7 +2150,7 @@ static struct phy_driver at803x_driver[] = { ...@@ -2150,7 +2150,7 @@ static struct phy_driver at803x_driver[] = {
.resume = at803x_resume, .resume = at803x_resume,
.flags = PHY_POLL_CABLE_TEST, .flags = PHY_POLL_CABLE_TEST,
/* PHY_BASIC_FEATURES */ /* PHY_BASIC_FEATURES */
.config_intr = &at803x_config_intr, .config_intr = at803x_config_intr,
.handle_interrupt = at803x_handle_interrupt, .handle_interrupt = at803x_handle_interrupt,
.cable_test_start = at803x_cable_test_start, .cable_test_start = at803x_cable_test_start,
.cable_test_get_status = at803x_cable_test_get_status, .cable_test_get_status = at803x_cable_test_get_status,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment