|
@@ -485,8 +485,8 @@ const struct file_operations sysfs_file_operations = {
|
|
.poll = sysfs_poll,
|
|
.poll = sysfs_poll,
|
|
};
|
|
};
|
|
|
|
|
|
-int sysfs_attr_ns(struct kobject *kobj, const struct attribute *attr,
|
|
|
|
- const void **pns)
|
|
|
|
|
|
+static int sysfs_attr_ns(struct kobject *kobj, const struct attribute *attr,
|
|
|
|
+ const void **pns)
|
|
{
|
|
{
|
|
struct sysfs_dirent *dir_sd = kobj->sd;
|
|
struct sysfs_dirent *dir_sd = kobj->sd;
|
|
const struct sysfs_ops *ops;
|
|
const struct sysfs_ops *ops;
|