diff options
-rw-r--r-- | drivers/net/natsemi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/natsemi.c b/drivers/net/natsemi.c index 4cf0d3fcb519..460a08718c69 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, | |||
690 | { | 690 | { |
691 | struct netdev_private *np = netdev_priv(to_net_dev(dev)); | 691 | struct netdev_private *np = netdev_priv(to_net_dev(dev)); |
692 | int new_setting; | 692 | int new_setting; |
693 | u32 flags; | 693 | unsigned long flags; |
694 | 694 | ||
695 | /* Find out the new setting */ | 695 | /* Find out the new setting */ |
696 | if (!strncmp("on", buf, count - 1) || !strncmp("1", buf, count - 1)) | 696 | if (!strncmp("on", buf, count - 1) || !strncmp("1", buf, count - 1)) |