tpm_bios.c: make 2 structs static
This patch makes two needlessly global structs static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Marcel Selhorst <tpm@selhorst.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
061991ec6e
commit
3bd60464e3
@@ -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:
|
|||||||
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,
|
||||||
|
Reference in New Issue
Block a user