diff options
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/rtl8367b.c')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/rtl8367b.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/rtl8367b.c b/target/linux/generic/files/drivers/net/phy/rtl8367b.c index 5bd6f407f5..8d43c3e240 100644 --- a/target/linux/generic/files/drivers/net/phy/rtl8367b.c +++ b/target/linux/generic/files/drivers/net/phy/rtl8367b.c @@ -11,6 +11,7 @@ #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> +#include <linux/device.h> #include <linux/of.h> #include <linux/of_platform.h> #include <linux/delay.h> @@ -1456,7 +1457,6 @@ static struct rtl8366_smi_ops rtl8367b_smi_ops = { static int __devinit rtl8367b_probe(struct platform_device *pdev) { - struct rtl8367_platform_data *pdata; struct rtl8366_smi *smi; int err; @@ -1491,7 +1491,6 @@ static int __devinit rtl8367b_probe(struct platform_device *pdev) rtl8366_smi_cleanup(smi); err_free_smi: kfree(smi); - err_out: return err; } |