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
- Lines: 15
- Date:
2004-02-18 05:36:31.000000000 -0800
- Orig file:
linux-2.4.24/drivers/sbus/char/flash.c
- Orig date:
2001-10-10 23:42:47.000000000 -0700
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)