Signed-off-by: kernel test robot <[email protected]>
---
net-sysfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c
index 8765e075d7e94..2fbbf4b818df4 100644
--- a/net/core/net-sysfs.c
+++ b/net/core/net-sysfs.c
@@ -510,7 +510,7 @@ static ssize_t napi_threaded_show(struct device *dev,
return sprintf(buf, fmt_dec, enabled);
}
-DEVICE_ATTR_RW(napi_threaded);
+static DEVICE_ATTR_RW(napi_threaded);
static ssize_t phys_port_id_show(struct device *dev,
struct device_attribute *attr, char *buf)