From 2a0e73f48caec39372666ef3bc32db193294971b Mon Sep 17 00:00:00 2001 From: Amit Gud Date: Tue, 12 Apr 2005 19:03:33 +0530 Subject: [PATCH] --- yaml --- r: 3838 b: refs/heads/master c: 881a8c120acf7ec09c90289e2996b7c70f51e996 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/char/moxa.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 2c2e0ded8f68..46e64f9d776b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 120bb4246a99cc6e9cc976573fcbcd0ee9d544ef +refs/heads/master: 881a8c120acf7ec09c90289e2996b7c70f51e996 diff --git a/trunk/drivers/char/moxa.c b/trunk/drivers/char/moxa.c index 7c24fbe831f8..95f7046ff059 100644 --- a/trunk/drivers/char/moxa.c +++ b/trunk/drivers/char/moxa.c @@ -451,7 +451,7 @@ static int __init moxa_init(void) int n = (sizeof(moxa_pcibrds) / sizeof(moxa_pcibrds[0])) - 1; i = 0; while (i < n) { - while ((p = pci_find_device(moxa_pcibrds[i].vendor, moxa_pcibrds[i].device, p))!=NULL) + while ((p = pci_get_device(moxa_pcibrds[i].vendor, moxa_pcibrds[i].device, p))!=NULL) { if (pci_enable_device(p)) continue;