* [KJ] [PATCH] via82cxxx_audio.c : replace pci_find_device by
@ 2006-05-14 21:42 trem
2006-05-14 21:52 ` trem
0 siblings, 1 reply; 2+ messages in thread
From: trem @ 2006-05-14 21:42 UTC (permalink / raw)
To: kernel-janitors
From: trem <tremyfr@yahoo.fr>
This patch simply change pci_find_device by pci_get_device, because
pci_find_device is deprecated.
Signed-off-by: trem <tremyfr@yahoo.fr>
---
--- /home/trem/mes_noyaux/git/linux-2.6/sound/oss/via82cxxx_audio.c
2006-03-26 22:31:58.000000000 +0200
+++ linux-2.6-git/sound/oss/via82cxxx_audio.c 2006-05-12
01:01:58.000000000 +0200
@@ -1547,7 +1547,7 @@ static int via_mixer_open (struct inode
DPRINTK ("ENTER\n");
- while ((pdev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, pdev)) !NULL) {
+ while ((pdev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, pdev)) !NULL) {
drvr = pci_dev_driver (pdev);
if (drvr = &via_driver) {
assert (pci_get_drvdata (pdev) != NULL);
@@ -3245,7 +3245,7 @@ static int via_dsp_open (struct inode *i
}
card = NULL;
- while ((pdev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, pdev)) !NULL) {
+ while ((pdev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, pdev)) !NULL) {
drvr = pci_dev_driver (pdev);
if (drvr = &via_driver) {
assert (pci_get_drvdata (pdev) != NULL);
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 2+ messages in thread
* [KJ] [PATCH] via82cxxx_audio.c : replace pci_find_device by
2006-05-14 21:42 [KJ] [PATCH] via82cxxx_audio.c : replace pci_find_device by trem
@ 2006-05-14 21:52 ` trem
0 siblings, 0 replies; 2+ messages in thread
From: trem @ 2006-05-14 21:52 UTC (permalink / raw)
To: kernel-janitors
From: trem <tremyfr@yahoo.fr>
This patch simply change pci_find_device by pci_get_device, because
pci_find_device is deprecated. This one fix path in the patch.
Signed-Off-By: trem <tremyfr@yahoo.fr>
---
--- linux-2.6-git/sound/oss/via82cxxx_audio.c 2006-05-14 23:47:02.000000000 +0200
+++ linux-2.6-git-trem/sound/oss/via82cxxx_audio.c 2006-05-14 01:13:29.000000000 +0200
@@ -1547,7 +1547,7 @@ static int via_mixer_open (struct inode
DPRINTK ("ENTER\n");
- while ((pdev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, pdev)) != NULL) {
+ while ((pdev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, pdev)) != NULL) {
drvr = pci_dev_driver (pdev);
if (drvr = &via_driver) {
assert (pci_get_drvdata (pdev) != NULL);
@@ -3245,7 +3245,7 @@ static int via_dsp_open (struct inode *i
}
card = NULL;
- while ((pdev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, pdev)) != NULL) {
+ while ((pdev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, pdev)) != NULL) {
drvr = pci_dev_driver (pdev);
if (drvr = &via_driver) {
assert (pci_get_drvdata (pdev) != NULL);
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-14 21:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-14 21:42 [KJ] [PATCH] via82cxxx_audio.c : replace pci_find_device by trem
2006-05-14 21:52 ` trem
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.