# HG changeset patch # User ben # Date 1189874570 0 # Node ID e7f836a459eaad528e2273cc5b8a66b72f4746c9 # Parent 767a9fd651c7f83a49106cda5565a30c4ef6f016 ifdef one variable that is not used with alpha and powerpc architectures diff -r 767a9fd651c7 -r e7f836a459ea vidix/pci.c --- 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;