Commit 7a6653ad authored by Aleksander Jan Bajkowski's avatar Aleksander Jan Bajkowski Committed by David S. Miller

net: lantiq_etop: make alignment match open parenthesis

checkpatch.pl complains as the following:

Alignment should match open parenthesis
Signed-off-by: default avatarAleksander Jan Bajkowski <olek2@wp.pl>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 370509b2
...@@ -111,9 +111,9 @@ ltq_etop_alloc_skb(struct ltq_etop_chan *ch) ...@@ -111,9 +111,9 @@ ltq_etop_alloc_skb(struct ltq_etop_chan *ch)
ch->skb[ch->dma.desc] = netdev_alloc_skb(ch->netdev, MAX_DMA_DATA_LEN); ch->skb[ch->dma.desc] = netdev_alloc_skb(ch->netdev, MAX_DMA_DATA_LEN);
if (!ch->skb[ch->dma.desc]) if (!ch->skb[ch->dma.desc])
return -ENOMEM; return -ENOMEM;
ch->dma.desc_base[ch->dma.desc].addr = dma_map_single(&priv->pdev->dev, ch->dma.desc_base[ch->dma.desc].addr =
ch->skb[ch->dma.desc]->data, MAX_DMA_DATA_LEN, dma_map_single(&priv->pdev->dev, ch->skb[ch->dma.desc]->data,
DMA_FROM_DEVICE); MAX_DMA_DATA_LEN, DMA_FROM_DEVICE);
ch->dma.desc_base[ch->dma.desc].addr = ch->dma.desc_base[ch->dma.desc].addr =
CPHYSADDR(ch->skb[ch->dma.desc]->data); CPHYSADDR(ch->skb[ch->dma.desc]->data);
ch->dma.desc_base[ch->dma.desc].ctl = ch->dma.desc_base[ch->dma.desc].ctl =
...@@ -247,13 +247,13 @@ ltq_etop_hw_init(struct net_device *dev) ...@@ -247,13 +247,13 @@ ltq_etop_hw_init(struct net_device *dev)
switch (priv->pldata->mii_mode) { switch (priv->pldata->mii_mode) {
case PHY_INTERFACE_MODE_RMII: case PHY_INTERFACE_MODE_RMII:
ltq_etop_w32_mask(ETOP_MII_MASK, ltq_etop_w32_mask(ETOP_MII_MASK, ETOP_MII_REVERSE,
ETOP_MII_REVERSE, LTQ_ETOP_CFG); LTQ_ETOP_CFG);
break; break;
case PHY_INTERFACE_MODE_MII: case PHY_INTERFACE_MODE_MII:
ltq_etop_w32_mask(ETOP_MII_MASK, ltq_etop_w32_mask(ETOP_MII_MASK, ETOP_MII_NORMAL,
ETOP_MII_NORMAL, LTQ_ETOP_CFG); LTQ_ETOP_CFG);
break; break;
default: default:
...@@ -662,8 +662,8 @@ ltq_etop_probe(struct platform_device *pdev) ...@@ -662,8 +662,8 @@ ltq_etop_probe(struct platform_device *pdev)
goto err_out; goto err_out;
} }
ltq_etop_membase = devm_ioremap(&pdev->dev, ltq_etop_membase = devm_ioremap(&pdev->dev, res->start,
res->start, resource_size(res)); resource_size(res));
if (!ltq_etop_membase) { if (!ltq_etop_membase) {
dev_err(&pdev->dev, "failed to remap etop engine %d\n", dev_err(&pdev->dev, "failed to remap etop engine %d\n",
pdev->id); pdev->id);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment