lkml.org 
[lkml]   [2004]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH-2.4.26] cardbus cleanup
Hi Marcelo,

in cardbus.c, cb_scan_slot() calls pci_scan_device() which is
undefined. Since it does not appear in any include, I added an
external reference to it in the file to kill the warning.

Please apply.
Willy

--- ./drivers/pcmcia/cardbus.c.orig Sun Mar 28 13:57:34 2004
+++ ./drivers/pcmcia/cardbus.c Sun Mar 28 13:59:24 2004
@@ -221,6 +221,8 @@
return -1;
}

+extern struct pci_dev * __devinit pci_scan_device(struct pci_dev *temp);
+
struct pci_dev *cb_scan_slot(struct pci_dev *temp, struct list_head *list)
{
struct pci_dev *dev;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.140 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site