Driver core: Constify struct sysfs_ops in struct kobj_type
[linux-2.6-block.git] / drivers / gpu / drm / ttm / ttm_memory.c
index f5245c02b8fd0b927f6d38db3bd997e57e1e3e98..eb143e04d40242a35c99d774f981cdf610979f6b 100644 (file)
@@ -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
 };