diff --git a/drivers/net/natsemi.c b/drivers/net/natsemi.c
index 4cf0d3fcb519d741559d9e016178f455a75884c3..460a08718c69f8c740fcb5716720ea44219b14f6 100644
--- a/drivers/net/natsemi.c
+++ b/drivers/net/natsemi.c
@@ -690,7 +690,7 @@ static ssize_t natsemi_set_dspcfg_workaround(struct device *dev,
 {
 	struct netdev_private *np = netdev_priv(to_net_dev(dev));
 	int new_setting;
-	u32 flags;
+	unsigned long flags;
 
         /* Find out the new setting */
         if (!strncmp("on", buf, count - 1) || !strncmp("1", buf, count - 1))