From 66e0afd0ea5b913255038f7db5399d369854c71b Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 1 Nov 2014 16:56:22 +0100 Subject: Darwin: More renames --- lib/darwin.c | 6 +++--- lib/init.c | 2 +- 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, diff --git a/lib/init.c b/lib/init.c index 04d8638..d28271e 100644 --- a/lib/init.c +++ b/lib/init.c @@ -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; -- cgit v1.2.1