projects
/
linux-2.6-block.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
[linux-2.6-block.git]
/
drivers
/
gpu
/
drm
/
ttm
/
ttm_memory.c
diff --git
a/drivers/gpu/drm/ttm/ttm_memory.c
b/drivers/gpu/drm/ttm/ttm_memory.c
index f5245c02b8fd0b927f6d38db3bd997e57e1e3e98..eb143e04d40242a35c99d774f981cdf610979f6b 100644
(file)
--- a/
drivers/gpu/drm/ttm/ttm_memory.c
+++ b/
drivers/gpu/drm/ttm/ttm_memory.c
@@
-152,7
+152,7
@@
static struct attribute *ttm_mem_zone_attrs[] = {
NULL
};
-static struct sysfs_ops ttm_mem_zone_ops = {
+static
const
struct sysfs_ops ttm_mem_zone_ops = {
.show = &ttm_mem_zone_show,
.store = &ttm_mem_zone_store
};