Skip to contentSkip to conversation

fixup for latest netdev change.

PATCH Applied Stephen Hemminger 2 participants 2 messages May 20, 2003 – May 21, 2003 3 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

PATCH 1/1 fixup for latest netdev change.

One driver was setting owner directly, so won't build now. This should fix it.

drivers/net/ns83820.c +1 -1
diff -urNp -X dontdiff linux-2.5/drivers/net/ns83820.c linux-2.5-sysfs/drivers/net/ns83820.c
@@ -1788,7 +1788,7 @@ static int __devinit ns83820_init_one(st
 
 	dev->ee.cache = &dev->MEAR_cache;
 	dev->ee.lock = &dev->misc_lock;
-	dev->net_dev.owner = THIS_MODULE;
+	SET_MODULE_OWNER(dev->net_dev);
 	dev->net_dev.priv = dev;
 
 	INIT_WORK(&dev->tq_refill, queue_refill, dev);
#4 lore raw

From: Stephen Hemminger <[email protected]>
Date: Tue, 20 May 2003 11:23:55 -0700

One driver was setting owner directly, so won't build now. This should fix it.

Applied, thanks.