summaryrefslogtreecommitdiff
path: root/common.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2004-08-13 20:36:33 +0000
committerMartin Mares <mj@ucw.cz>2006-05-05 14:18:24 +0200
commit489233b45bc68e94b2d065f696ed22bc6e6eec02 (patch)
treec3e94f6b3112058d73ce8cc284df2455649c0228 /common.c
parent9bb4b4ea9c4fe02c45d0c8087a2342a44eda450d (diff)
downloadpciutils-489233b45bc68e94b2d065f696ed22bc6e6eec02.tar.gz
Include file splits and namespace cleanups.
git-archimport-id: mj@ucw.cz--public/pciutils--main--2.2--patch-60
Diffstat (limited to 'common.c')
-rw-r--r--common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common.c b/common.c
index 9181e4e..2bfd1b8 100644
--- a/common.c
+++ b/common.c
@@ -49,13 +49,13 @@ parse_generic_option(int i, struct pci_access *pacc, char *optarg)
{
switch (i)
{
-#ifdef HAVE_PM_LINUX_PROC
+#ifdef PCI_HAVE_PM_LINUX_PROC
case 'P':
pacc->method_params[PCI_ACCESS_PROC_BUS_PCI] = optarg;
pacc->method = PCI_ACCESS_PROC_BUS_PCI;
break;
#endif
-#ifdef HAVE_PM_INTEL_CONF
+#ifdef PCI_HAVE_PM_INTEL_CONF
case 'H':
if (!strcmp(optarg, "1"))
pacc->method = PCI_ACCESS_I386_TYPE1;
@@ -65,7 +65,7 @@ parse_generic_option(int i, struct pci_access *pacc, char *optarg)
die("Unknown hardware configuration type %s", optarg);
break;
#endif
-#ifdef HAVE_PM_DUMP
+#ifdef PCI_HAVE_PM_DUMP
case 'F':
pacc->method_params[PCI_ACCESS_DUMP] = optarg;
pacc->method = PCI_ACCESS_DUMP;