diff options
author | Martin Mares <mj@ucw.cz> | 2014-11-01 16:56:22 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2014-11-01 16:56:22 +0100 |
commit | 66e0afd0ea5b913255038f7db5399d369854c71b (patch) | |
tree | 2f7181e588cda5b22826b332540abb1d8f04467e | |
parent | a54d4bd199cddd82647b912b1038c25ded5e3510 (diff) | |
download | pciutils-66e0afd0ea5b913255038f7db5399d369854c71b.tar.gz |
Darwin: More renames
-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; |