summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/net/phy/mdio-gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/net/phy/mdio-gpio.c')
-rw-r--r--kernel/drivers/net/phy/mdio-gpio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/drivers/net/phy/mdio-gpio.c b/kernel/drivers/net/phy/mdio-gpio.c
index 53d18150f..95f51d726 100644
--- a/kernel/drivers/net/phy/mdio-gpio.c
+++ b/kernel/drivers/net/phy/mdio-gpio.c
@@ -25,7 +25,7 @@
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
-#include <linux/mdio-gpio.h>
+#include <linux/platform_data/mdio-gpio.h>
#include <linux/of_gpio.h>
#include <linux/of_mdio.h>
@@ -158,6 +158,7 @@ static struct mii_bus *mdio_gpio_bus_init(struct device *dev,
new_bus->name = "GPIO Bitbanged MDIO",
new_bus->phy_mask = pdata->phy_mask;
+ new_bus->phy_ignore_ta_mask = pdata->phy_ignore_ta_mask;
new_bus->irq = pdata->irqs;
new_bus->parent = dev;
@@ -260,6 +261,7 @@ static const struct of_device_id mdio_gpio_of_match[] = {
{ .compatible = "virtual,mdio-gpio", },
{ /* sentinel */ }
};
+MODULE_DEVICE_TABLE(of, mdio_gpio_of_match);
static struct platform_driver mdio_gpio_driver = {
.probe = mdio_gpio_probe,