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

Commit 46c73ecc authored by Varka Bhadram's avatar Varka Bhadram Committed by David S. Miller
Browse files

ethernet: amd: fix 'foo* bar'



This patch fix the 'foo*' bar with 'foo *bar' and (foo*) with (foo *).

Signed-off-by: default avatarVarka Bhadram <varkab@cdac.in>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ba69a3d7
Loading
Loading
Loading
Loading
+40 −36
Original line number Diff line number Diff line
@@ -109,7 +109,8 @@ module_param_array(dynamic_ipg, bool, NULL, 0);
MODULE_PARM_DESC(dynamic_ipg, "Enable or Disable dynamic IPG, 1: Enable, 0: Disable");

/* This function will read the PHY registers. */
static int amd8111e_read_phy(struct amd8111e_priv* lp, int phy_id, int reg, u32* val)
static int amd8111e_read_phy(struct amd8111e_priv *lp,
			     int phy_id, int reg, u32 *val)
{
	void __iomem *mmio = lp->mmio;
	unsigned int reg_val;
@@ -137,7 +138,8 @@ err_phy_read:
}

/* This function will write into PHY registers. */
static int amd8111e_write_phy(struct amd8111e_priv* lp,int phy_id, int reg, u32 val)
static int amd8111e_write_phy(struct amd8111e_priv *lp,
			      int phy_id, int reg, u32 val)
{
	unsigned int repeat = REPEAT_CNT;
	void __iomem *mmio = lp->mmio;
@@ -177,7 +179,8 @@ static int amd8111e_mdio_read(struct net_device * dev, int phy_id, int reg_num)
}

/* This is the mii register write function provided to the mii interface. */
static void amd8111e_mdio_write(struct net_device * dev, int phy_id, int reg_num, int val)
static void amd8111e_mdio_write(struct net_device *dev,
				int phy_id, int reg_num, int val)
{
	struct amd8111e_priv *lp = netdev_priv(dev);

@@ -1394,7 +1397,8 @@ static void amd8111e_set_multicast_list(struct net_device *dev)

}

static void amd8111e_get_drvinfo(struct net_device* dev, struct ethtool_drvinfo *info)
static void amd8111e_get_drvinfo(struct net_device *dev,
				 struct ethtool_drvinfo *info)
{
	struct amd8111e_priv *lp = netdev_priv(dev);
	struct pci_dev *pci_dev = lp->pci_dev;