Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0207dd11 authored by Andrew Lunn's avatar Andrew Lunn Committed by David S. Miller
Browse files

net: phy: mdio-gpio: Remove redundant platform data header



The platform data header file is now unused. Remove it, but add
an extra include which it brought in.

Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fb78a95e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -5321,7 +5321,6 @@ F: include/linux/*mdio*.h
F:	include/linux/of_net.h
F:	include/linux/phy.h
F:	include/linux/phy_fixed.h
F:	include/linux/platform_data/mdio-gpio.h
F:	include/linux/platform_data/mdio-bcm-unimac.h
F:	include/trace/events/mdio.h
F:	include/uapi/linux/mdio.h
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@
#include <linux/mdio-bitbang.h>
#include <linux/mdio-gpio.h>
#include <linux/gpio.h>
#include <linux/platform_data/mdio-gpio.h>
#include <linux/gpio/consumer.h>

#include <linux/of_gpio.h>
#include <linux/of_mdio.h>
+0 −23
Original line number Diff line number Diff line
/*
 * MDIO-GPIO bus platform data structures
 *
 * Copyright (C) 2008, Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
 *
 * This file is licensed under the terms of the GNU General Public License
 * version 2. This program is licensed "as is" without any warranty of any
 * kind, whether express or implied.
 */

#ifndef __LINUX_MDIO_GPIO_H
#define __LINUX_MDIO_GPIO_H

#include <linux/mdio-bitbang.h>

struct mdio_gpio_platform_data {
	/* GPIO numbers for bus pins */
	struct gpio_desc *mdc;
	struct gpio_desc *mdio;
	struct gpio_desc *mdo;
};

#endif /* __LINUX_MDIO_GPIO_H */