projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9305842
)
sysfs: Mark sysfs_attr_ns static
author
Josh Triplett
<josh@joshtriplett.org>
Mon, 19 Nov 2012 05:27:50 +0000
(21:27 -0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 27 Nov 2012 00:25:36 +0000
(16:25 -0800)
Nothing outside of fs/sysfs/file.c references this function, so mark it static.
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/sysfs/file.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/sysfs/file.c
b/fs/sysfs/file.c
index 00012e31829d111fbd002461b7086a70c85d29f6..602f56db0442bea394d77b208aea303ccbe6f026 100644
(file)
--- a/
fs/sysfs/file.c
+++ b/
fs/sysfs/file.c
@@
-485,8
+485,8
@@
const struct file_operations sysfs_file_operations = {
.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;
const struct sysfs_ops *ops;