patch-2.4.25 linux-2.4.25/drivers/sbus/char/flash.c

Next file: linux-2.4.25/drivers/scsi/3w-xxxx.c
Previous file: linux-2.4.25/drivers/s390/s390io.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/drivers/sbus/char/flash.c linux-2.4.25/drivers/sbus/char/flash.c
@@ -161,10 +161,13 @@
 {
 	struct sbus_bus *sbus;
 	struct sbus_dev *sdev = 0;
+#ifdef CONFIG_PCI
 	struct linux_ebus *ebus;
 	struct linux_ebus_device *edev = 0;
 	struct linux_prom_registers regs[2];
-	int len, err, nregs;
+	int len, nregs;
+#endif
+	int err;
 
 	for_all_sbusdev(sdev, sbus) {
 		if (!strcmp(sdev->prom_name, "flashprom")) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)