drivers/net: coding styles fixes to drivers/net/8390.c
Fix all errors and warnings reported by checkpatch.pl Signed-off-by: Gustavo F. Padovan <gustavo@las.ic.unicamp.br> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
caa1687c01
commit
11795aa4f8
|
@ -9,42 +9,39 @@ int ei_open(struct net_device *dev)
|
||||||
{
|
{
|
||||||
return __ei_open(dev);
|
return __ei_open(dev);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(ei_open);
|
||||||
|
|
||||||
int ei_close(struct net_device *dev)
|
int ei_close(struct net_device *dev)
|
||||||
{
|
{
|
||||||
return __ei_close(dev);
|
return __ei_close(dev);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(ei_close);
|
||||||
|
|
||||||
irqreturn_t ei_interrupt(int irq, void *dev_id)
|
irqreturn_t ei_interrupt(int irq, void *dev_id)
|
||||||
{
|
{
|
||||||
return __ei_interrupt(irq, dev_id);
|
return __ei_interrupt(irq, dev_id);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(ei_interrupt);
|
||||||
|
|
||||||
#ifdef CONFIG_NET_POLL_CONTROLLER
|
#ifdef CONFIG_NET_POLL_CONTROLLER
|
||||||
void ei_poll(struct net_device *dev)
|
void ei_poll(struct net_device *dev)
|
||||||
{
|
{
|
||||||
__ei_poll(dev);
|
__ei_poll(dev);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(ei_poll);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct net_device *__alloc_ei_netdev(int size)
|
struct net_device *__alloc_ei_netdev(int size)
|
||||||
{
|
{
|
||||||
return ____alloc_ei_netdev(size);
|
return ____alloc_ei_netdev(size);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(__alloc_ei_netdev);
|
||||||
|
|
||||||
void NS8390_init(struct net_device *dev, int startp)
|
void NS8390_init(struct net_device *dev, int startp)
|
||||||
{
|
{
|
||||||
__NS8390_init(dev, startp);
|
__NS8390_init(dev, startp);
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_SYMBOL(ei_open);
|
|
||||||
EXPORT_SYMBOL(ei_close);
|
|
||||||
EXPORT_SYMBOL(ei_interrupt);
|
|
||||||
#ifdef CONFIG_NET_POLL_CONTROLLER
|
|
||||||
EXPORT_SYMBOL(ei_poll);
|
|
||||||
#endif
|
|
||||||
EXPORT_SYMBOL(NS8390_init);
|
EXPORT_SYMBOL(NS8390_init);
|
||||||
EXPORT_SYMBOL(__alloc_ei_netdev);
|
|
||||||
|
|
||||||
#if defined(MODULE)
|
#if defined(MODULE)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue