summaryrefslogtreecommitdiff
path: root/com32/lib/pci
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-03-29 21:28:23 +0200
committerErwan Velu <erwan.velu@free.fr>2009-03-29 21:28:23 +0200
commitc4ddb8c11aadc695940715be3420c1a97364935a (patch)
treeb59ecd8f13880893098e539fab5406f4b8357b0c /com32/lib/pci
parentfdc0486c5d47ca692c755b8a03550e42f5f14257 (diff)
downloadsyslinux-3.74-pre13.tar.gz
pci: Rename get_module_name_from_pci_idssyslinux-3.74-pre13syslinux-3.74-pre12
Impact: none Rename get_module_name_from_pci_ids to get_module_name_from_pcimap since the module names are read from the modules.pcimap and not pci.ids file. Signed-off-by: Sebastian Herbszt (herbszt@gmx.de)
Diffstat (limited to 'com32/lib/pci')
-rw-r--r--com32/lib/pci/scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lib/pci/scan.c b/com32/lib/pci/scan.c
index adfec596..39f743b5 100644
--- a/com32/lib/pci/scan.c
+++ b/com32/lib/pci/scan.c
@@ -73,7 +73,7 @@ static int hex_to_int(char *hexa)
/* Try to match any pci device to the appropriate kernel module */
/* it uses the modules.pcimap from the boot device */
-int get_module_name_from_pci_ids(struct pci_domain *domain, char *modules_pcimap_path)
+int get_module_name_from_pcimap(struct pci_domain *domain, char *modules_pcimap_path)
{
char line[MAX_LINE];
char module_name[21]; // the module name field is 21 char long