devices/8139too-2.6.37-ethercat.c
branchstable-1.5
changeset 2231 07a6c9cffb78
parent 2074 9f5c5a3a0984
child 2582 87e502828b3f
--- a/devices/8139too-2.6.37-ethercat.c	Mon Jan 09 15:17:27 2012 +0100
+++ b/devices/8139too-2.6.37-ethercat.c	Mon Jan 09 17:41:26 2012 +0100
@@ -795,8 +795,10 @@
 	u8 tmp8;
 	int rc, disable_dev_on_err = 0;
 	unsigned int i;
-	unsigned long pio_start, pio_end, pio_flags, pio_len;
-	unsigned long mmio_start, mmio_end, mmio_flags, mmio_len;
+	unsigned long pio_start, pio_end __attribute__ ((unused)), pio_flags,
+                  pio_len;
+	unsigned long mmio_start __attribute__ ((unused)),
+                  mmio_end __attribute__ ((unused)), mmio_flags, mmio_len;
 	u32 version;
 
 	assert (pdev != NULL);