* Fix driver model in tg3
@ 2005-01-24 17:21 Pavel Machek
0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2005-01-24 17:21 UTC (permalink / raw)
To: Andrew Morton, kernel list
Hi!
With last pci_choose_state, I passed wrong pointer to
pci_choose_state. This fixes it. Please apply,
Pavel
Signed-off-by: Pavel Machek <pavel@suse.cz>
--- /data/l/READ-ONLY/linux/drivers/net/tg3.c 2005-01-22 21:28:41.000000000 +0100
+++ linux/drivers/net/tg3.c 2005-01-24 11:23:06.000000000 +0100
@@ -8475,7 +8475,7 @@
spin_unlock(&dev->xmit_lock);
spin_unlock_irq(&tp->lock);
- err = tg3_set_power_state(tp, pci_choose_state(dev, state));
+ err = tg3_set_power_state(tp, pci_choose_state(pdev, state));
if (err) {
spin_lock_irq(&tp->lock);
spin_lock(&dev->xmit_lock);
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-01-24 17:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-24 17:21 Fix driver model in tg3 Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).