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>
This commit is contained in:
committed by
David S. Miller
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");
|
MODULE_PARM_DESC(dynamic_ipg, "Enable or Disable dynamic IPG, 1: Enable, 0: Disable");
|
||||||
|
|
||||||
/* This function will read the PHY registers. */
|
/* 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;
|
void __iomem *mmio = lp->mmio;
|
||||||
unsigned int reg_val;
|
unsigned int reg_val;
|
||||||
@@ -137,7 +138,8 @@ err_phy_read:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* This function will write into PHY registers. */
|
/* 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;
|
unsigned int repeat = REPEAT_CNT;
|
||||||
void __iomem *mmio = lp->mmio;
|
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. */
|
/* 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);
|
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 amd8111e_priv *lp = netdev_priv(dev);
|
||||||
struct pci_dev *pci_dev = lp->pci_dev;
|
struct pci_dev *pci_dev = lp->pci_dev;
|
||||||
|
Reference in New Issue
Block a user