diff -r aa0f6f939cb3 -r ca345abf0565 devices/8139too-2.6.37-ethercat.c --- a/devices/8139too-2.6.37-ethercat.c Tue Apr 10 19:09:51 2012 +0200 +++ b/devices/8139too-2.6.37-ethercat.c Tue Apr 10 19:10:56 2012 +0200 @@ -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);