ethernet: amd: fix 'foo* bar'
This patch fix the 'foo*' bar with 'foo *bar' and (foo*) with (foo *). Signed-off-by: Varka Bhadram <varkab@cdac.in> Signed-off-by: David S. Miller <davem@davemloft.net>hifive-unleashed-5.1
parent
ba69a3d78e
commit
46c73ecc61
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue