diff options
-rw-r--r-- | lib/darwin.c | 6 | ||||
-rw-r--r-- | lib/init.c | 2 | ||||
-rw-r--r-- | lib/internal.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/darwin.c b/lib/darwin.c index e34c423..9167393 100644 --- a/lib/darwin.c +++ b/lib/darwin.c @@ -194,9 +194,9 @@ darwin_write(struct pci_dev *d, int pos, byte *buf, int len) return 1; } -struct pci_methods pm_darwin_device = { - "darwin-device", - "Darwin device", +struct pci_methods pm_darwin = { + "darwin", + "Darwin", darwin_config, darwin_detect, darwin_init, @@ -58,7 +58,7 @@ static struct pci_methods *pci_methods[PCI_ACCESS_MAX] = { NULL, #endif #ifdef PCI_HAVE_PM_DARWIN_DEVICE - &pm_darwin_device, + &pm_darwin, #else NULL, #endif diff --git a/lib/internal.h b/lib/internal.h index de57c5e..2c6d3ef 100644 --- a/lib/internal.h +++ b/lib/internal.h @@ -75,4 +75,4 @@ void pci_free_caps(struct pci_dev *); extern struct pci_methods pm_intel_conf1, pm_intel_conf2, pm_linux_proc, pm_fbsd_device, pm_aix_device, pm_nbsd_libpci, pm_obsd_device, - pm_dump, pm_linux_sysfs, pm_darwin_device; + pm_dump, pm_linux_sysfs, pm_darwin; |