projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Driver core: Constify struct sysfs_ops in struct kobj_type
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
arch
/
powerpc
/
kernel
/
cacheinfo.c
diff --git
a/arch/powerpc/kernel/cacheinfo.c
b/arch/powerpc/kernel/cacheinfo.c
index bb37b1d19a586291453ec5f460d3b1b1661185d3..01fe9ce28379a5bc6bb6738775f5a14c41f43884 100644
(file)
--- a/
arch/powerpc/kernel/cacheinfo.c
+++ b/
arch/powerpc/kernel/cacheinfo.c
@@
-642,7
+642,7
@@
static struct kobj_attribute *cache_index_opt_attrs[] = {
&cache_assoc_attr,
};
-static struct sysfs_ops cache_index_ops = {
+static
const
struct sysfs_ops cache_index_ops = {
.show = cache_index_show,
};