changeset 24510:e7f836a459ea

ifdef one variable that is not used with alpha and powerpc architectures
author ben
date Sat, 15 Sep 2007 16:42:50 +0000
parents 767a9fd651c7
children 263c0b282d90
files vidix/pci.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/pci.c	Sat Sep 15 16:39:39 2007 +0000
+++ b/vidix/pci.c	Sat Sep 15 16:42:50 2007 +0000
@@ -521,7 +521,10 @@
 {
     unsigned int idx = 0;
     struct pci_config_reg pcr;
-    int do_mode1_scan = 0, do_mode2_scan = 0;
+    int do_mode1_scan = 0;
+#if !defined(__alpha__) && !defined(__powerpc__)
+    int do_mode2_scan = 0;
+#endif
     int func, hostbridges=0;
     int ret = -1;