[HAMRADIO]: Remove remaining SET_MODULE_OWNER calls from hamradio drivers.
Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
86cfcb95ec
Коммит
3ab33dcc82
|
@ -582,7 +582,6 @@ static int __init setup_adapter(int card_base, int type, int n)
|
||||||
INIT_WORK(&priv->rx_work, rx_bh, priv);
|
INIT_WORK(&priv->rx_work, rx_bh, priv);
|
||||||
dev->priv = priv;
|
dev->priv = priv;
|
||||||
sprintf(dev->name, "dmascc%i", 2 * n + i);
|
sprintf(dev->name, "dmascc%i", 2 * n + i);
|
||||||
SET_MODULE_OWNER(dev);
|
|
||||||
dev->base_addr = card_base;
|
dev->base_addr = card_base;
|
||||||
dev->irq = irq;
|
dev->irq = irq;
|
||||||
dev->open = scc_open;
|
dev->open = scc_open;
|
||||||
|
|
|
@ -1550,7 +1550,6 @@ static unsigned char ax25_nocall[AX25_ADDR_LEN] =
|
||||||
|
|
||||||
static void scc_net_setup(struct net_device *dev)
|
static void scc_net_setup(struct net_device *dev)
|
||||||
{
|
{
|
||||||
SET_MODULE_OWNER(dev);
|
|
||||||
dev->tx_queue_len = 16; /* should be enough... */
|
dev->tx_queue_len = 16; /* should be enough... */
|
||||||
|
|
||||||
dev->open = scc_net_open;
|
dev->open = scc_net_open;
|
||||||
|
|
|
@ -1098,7 +1098,6 @@ static void yam_setup(struct net_device *dev)
|
||||||
|
|
||||||
dev->base_addr = yp->iobase;
|
dev->base_addr = yp->iobase;
|
||||||
dev->irq = yp->irq;
|
dev->irq = yp->irq;
|
||||||
SET_MODULE_OWNER(dev);
|
|
||||||
|
|
||||||
dev->open = yam_open;
|
dev->open = yam_open;
|
||||||
dev->stop = yam_close;
|
dev->stop = yam_close;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче