LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH]: mtd - fix a pci_find_device
@ 2007-01-31 17:00 Alan
2007-01-31 17:26 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: Alan @ 2007-01-31 17:00 UTC (permalink / raw)
To: akpm, linux-kernel
Going over the bugs and warnings I found this one left over. The other
changes have already been correctly done for this driver but the actual
switch to pci_get_device that they assume has not.
Signed-off-by: Alan Cox <alan@redhat.com>
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.20-rc6-mm3/drivers/mtd/maps/ck804xrom.c linux-2.6.20-rc6-mm3/drivers/mtd/maps/ck804xrom.c
--- linux.vanilla-2.6.20-rc6-mm3/drivers/mtd/maps/ck804xrom.c 2007-01-31 14:19:55.000000000 +0000
+++ linux-2.6.20-rc6-mm3/drivers/mtd/maps/ck804xrom.c 2007-01-31 15:17:52.000000000 +0000
@@ -327,7 +327,7 @@
pdev = NULL;
for(id = ck804xrom_pci_tbl; id->vendor; id++) {
- pdev = pci_find_device(id->vendor, id->device, NULL);
+ pdev = pci_get_device(id->vendor, id->device, NULL);
if (pdev)
break;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH]: mtd - fix a pci_find_device
2007-01-31 17:00 [PATCH]: mtd - fix a pci_find_device Alan
@ 2007-01-31 17:26 ` David Woodhouse
0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2007-01-31 17:26 UTC (permalink / raw)
To: Alan; +Cc: akpm, linux-kernel
On Wed, 2007-01-31 at 17:00 +0000, Alan wrote:
> Going over the bugs and warnings I found this one left over. The other
> changes have already been correctly done for this driver but the actual
> switch to pci_get_device that they assume has not.
>
> Signed-off-by: Alan Cox <alan@redhat.com>
Applied; thanks.
--
dwmw2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-31 17:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-31 17:00 [PATCH]: mtd - fix a pci_find_device Alan
2007-01-31 17:26 ` David Woodhouse
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).