[PATCH] orinoco: make orinoco_stop() static
Patch from Pavel Roskin Index: linux-2.6/drivers/net/wireless/orinoco.c ===================================================================
This commit is contained in:
Родитель
649e59e6ab
Коммит
ad8f451b41
|
@ -657,7 +657,7 @@ static int orinoco_open(struct net_device *dev)
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
int orinoco_stop(struct net_device *dev)
|
static int orinoco_stop(struct net_device *dev)
|
||||||
{
|
{
|
||||||
struct orinoco_private *priv = netdev_priv(dev);
|
struct orinoco_private *priv = netdev_priv(dev);
|
||||||
int err = 0;
|
int err = 0;
|
||||||
|
@ -4019,7 +4019,6 @@ EXPORT_SYMBOL(free_orinocodev);
|
||||||
|
|
||||||
EXPORT_SYMBOL(__orinoco_up);
|
EXPORT_SYMBOL(__orinoco_up);
|
||||||
EXPORT_SYMBOL(__orinoco_down);
|
EXPORT_SYMBOL(__orinoco_down);
|
||||||
EXPORT_SYMBOL(orinoco_stop);
|
|
||||||
EXPORT_SYMBOL(orinoco_reinit_firmware);
|
EXPORT_SYMBOL(orinoco_reinit_firmware);
|
||||||
|
|
||||||
EXPORT_SYMBOL(orinoco_interrupt);
|
EXPORT_SYMBOL(orinoco_interrupt);
|
||||||
|
|
|
@ -119,7 +119,6 @@ extern struct net_device *alloc_orinocodev(int sizeof_card,
|
||||||
extern void free_orinocodev(struct net_device *dev);
|
extern void free_orinocodev(struct net_device *dev);
|
||||||
extern int __orinoco_up(struct net_device *dev);
|
extern int __orinoco_up(struct net_device *dev);
|
||||||
extern int __orinoco_down(struct net_device *dev);
|
extern int __orinoco_down(struct net_device *dev);
|
||||||
extern int orinoco_stop(struct net_device *dev);
|
|
||||||
extern int orinoco_reinit_firmware(struct net_device *dev);
|
extern int orinoco_reinit_firmware(struct net_device *dev);
|
||||||
extern irqreturn_t orinoco_interrupt(int irq, void * dev_id, struct pt_regs *regs);
|
extern irqreturn_t orinoco_interrupt(int irq, void * dev_id, struct pt_regs *regs);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче