mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 16:10:58 +00:00
net: dc2114x: Clean up dc21x4x_halt()
Clean up the driver halt code to bring it up to standards with U-Boot coding style. No functional change. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
parent
9308df81a2
commit
5b4e7dfb87
1 changed files with 2 additions and 2 deletions
|
@ -386,9 +386,9 @@ static int dc21x4x_recv(struct eth_device *dev)
|
|||
return length;
|
||||
}
|
||||
|
||||
static void dc21x4x_halt(struct eth_device* dev)
|
||||
static void dc21x4x_halt(struct eth_device *dev)
|
||||
{
|
||||
int devbusfn = (int) dev->priv;
|
||||
int devbusfn = (int)dev->priv;
|
||||
|
||||
STOP_DE4X5(dev);
|
||||
OUTL(dev, 0, DE4X5_SICR);
|
||||
|
|
Loading…
Reference in a new issue