From 36ff5d74ca0ef07e1c9921e21a28d7d42d786aa7 Mon Sep 17 00:00:00 2001
From: Florian Pose <fp@igh-essen.com>
Date: Mon, 9 Mar 2009 08:42:49 +0000
Subject: [PATCH] Replaced single uint16_t by u16.

---
 devices/8139too-2.6.26-ethercat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devices/8139too-2.6.26-ethercat.c b/devices/8139too-2.6.26-ethercat.c
index c890b6a7..7651b5d6 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 {
-- 
GitLab