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_bo.c
diff --git
a/drivers/gpu/drm/ttm/ttm_bo.c
b/drivers/gpu/drm/ttm/ttm_bo.c
index c7320ce4567de25569eb23c6fe352ae9f62a3bf9..89c38c49066f2d87a69ecf58d528f2cf209a26af 100644
(file)
--- a/
drivers/gpu/drm/ttm/ttm_bo.c
+++ b/
drivers/gpu/drm/ttm/ttm_bo.c
@@
-128,7
+128,7
@@
static struct attribute *ttm_bo_global_attrs[] = {
NULL
};
-static struct sysfs_ops ttm_bo_global_ops = {
+static
const
struct sysfs_ops ttm_bo_global_ops = {
.show = &ttm_bo_global_show
};