Commit 3bd60464 authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

tpm_bios.c: make 2 structs static

This patch makes two needlessly global structs static.
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Acked-by: default avatarMarcel Selhorst <tpm@selhorst.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 061991ec
...@@ -448,7 +448,7 @@ out_free: ...@@ -448,7 +448,7 @@ out_free:
goto out; goto out;
} }
const struct file_operations tpm_ascii_bios_measurements_ops = { static const struct file_operations tpm_ascii_bios_measurements_ops = {
.open = tpm_ascii_bios_measurements_open, .open = tpm_ascii_bios_measurements_open,
.read = seq_read, .read = seq_read,
.llseek = seq_lseek, .llseek = seq_lseek,
...@@ -486,7 +486,7 @@ out_free: ...@@ -486,7 +486,7 @@ out_free:
goto out; goto out;
} }
const struct file_operations tpm_binary_bios_measurements_ops = { static const struct file_operations tpm_binary_bios_measurements_ops = {
.open = tpm_binary_bios_measurements_open, .open = tpm_binary_bios_measurements_open,
.read = seq_read, .read = seq_read,
.llseek = seq_lseek, .llseek = seq_lseek,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment