diff options
Diffstat (limited to 'drivers/net/gianfar_sysfs.c')
-rw-r--r-- | drivers/net/gianfar_sysfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/gianfar_sysfs.c b/drivers/net/gianfar_sysfs.c index a6d5c43199cb..9dd387fb3d74 100644 --- a/drivers/net/gianfar_sysfs.c +++ b/drivers/net/gianfar_sysfs.c | |||
@@ -19,7 +19,6 @@ | |||
19 | * Sysfs file creation and management | 19 | * Sysfs file creation and management |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include <linux/config.h> | ||
23 | #include <linux/kernel.h> | 22 | #include <linux/kernel.h> |
24 | #include <linux/sched.h> | 23 | #include <linux/sched.h> |
25 | #include <linux/string.h> | 24 | #include <linux/string.h> |
@@ -88,7 +87,7 @@ static ssize_t gfar_set_bd_stash(struct class_device *cdev, | |||
88 | priv->bd_stash_en = new_setting; | 87 | priv->bd_stash_en = new_setting; |
89 | 88 | ||
90 | temp = gfar_read(&priv->regs->attr); | 89 | temp = gfar_read(&priv->regs->attr); |
91 | 90 | ||
92 | if (new_setting) | 91 | if (new_setting) |
93 | temp |= ATTR_BDSTASH; | 92 | temp |= ATTR_BDSTASH; |
94 | else | 93 | else |