[PATCH] make more file_operation structs static
[sfrench/cifs-2.6.git] / drivers / char / tpm / tpm_infineon.c
index adfff21beb219f9965d50626dfbc582cc016be31..1353b5a6bae8eb13a6f5ccc20ebe227ab7f2b8cb 100644 (file)
@@ -338,7 +338,7 @@ static struct attribute *inf_attrs[] = {
 
 static struct attribute_group inf_attr_grp = {.attrs = inf_attrs };
 
-static struct file_operations inf_ops = {
+static const struct file_operations inf_ops = {
        .owner = THIS_MODULE,
        .llseek = no_llseek,
        .open = tpm_open,