diff --git a/devices/8139too-2.6.26-ethercat.c b/devices/8139too-2.6.26-ethercat.c index c890b6a7762cbee1e45b909c8d1666a1fb750f42..7651b5d6b5d0d1714bee997258d07ca047a436b2 100644 --- a/devices/8139too-2.6.26-ethercat.c +++ b/devices/8139too-2.6.26-ethercat.c @@ -1425,7 +1425,7 @@ static void rtl_check_media (struct net_device *dev, unsigned int init_media) if (tp->ecdev) { void __iomem *ioaddr = tp->mmio_addr; - uint16_t state = RTL_R16(BasicModeStatus) & BMSR_LSTATUS; + u16 state = RTL_R16(BasicModeStatus) & BMSR_LSTATUS; ecdev_set_link(tp->ecdev, state ? 1 : 0); } else {