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

Commit caa1687c authored by Gustavo Padovan's avatar Gustavo Padovan Committed by Jeff Garzik
Browse files

drivers/net: coding styles fixes to drivers/net/8390p.c



Fix all errors and warnings reported by checkpatch.pl

Signed-off-by: default avatarGustavo F. Padovan <gustavo@las.ic.unicamp.br>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 057b61af
Loading
Loading
Loading
Loading
+7 −10
Original line number Original line Diff line number Diff line
@@ -14,42 +14,39 @@ int eip_open(struct net_device *dev)
{
{
	return __ei_open(dev);
	return __ei_open(dev);
}
}
EXPORT_SYMBOL(eip_open);


int eip_close(struct net_device *dev)
int eip_close(struct net_device *dev)
{
{
	return __ei_close(dev);
	return __ei_close(dev);
}
}
EXPORT_SYMBOL(eip_close);


irqreturn_t eip_interrupt(int irq, void *dev_id)
irqreturn_t eip_interrupt(int irq, void *dev_id)
{
{
	return __ei_interrupt(irq, dev_id);
	return __ei_interrupt(irq, dev_id);
}
}
EXPORT_SYMBOL(eip_interrupt);


#ifdef CONFIG_NET_POLL_CONTROLLER
#ifdef CONFIG_NET_POLL_CONTROLLER
void eip_poll(struct net_device *dev)
void eip_poll(struct net_device *dev)
{
{
	__ei_poll(dev);
	__ei_poll(dev);
}
}
EXPORT_SYMBOL(eip_poll);
#endif
#endif


struct net_device *__alloc_eip_netdev(int size)
struct net_device *__alloc_eip_netdev(int size)
{
{
	return ____alloc_ei_netdev(size);
	return ____alloc_ei_netdev(size);
}
}
EXPORT_SYMBOL(__alloc_eip_netdev);


void NS8390p_init(struct net_device *dev, int startp)
void NS8390p_init(struct net_device *dev, int startp)
{
{
	__NS8390_init(dev, startp);
	__NS8390_init(dev, startp);
}
}

EXPORT_SYMBOL(eip_open);
EXPORT_SYMBOL(eip_close);
EXPORT_SYMBOL(eip_interrupt);
#ifdef CONFIG_NET_POLL_CONTROLLER
EXPORT_SYMBOL(eip_poll);
#endif
EXPORT_SYMBOL(NS8390p_init);
EXPORT_SYMBOL(NS8390p_init);
EXPORT_SYMBOL(__alloc_eip_netdev);


#if defined(MODULE)
#if defined(MODULE)