提交 3bd60464 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

tpm_bios.c: make 2 structs static

This patch makes two needlessly global structs static.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Acked-by: NMarcel Selhorst <tpm@selhorst.net>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 061991ec
......@@ -448,7 +448,7 @@ static int tpm_ascii_bios_measurements_open(struct inode *inode,
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,
.read = seq_read,
.llseek = seq_lseek,
......@@ -486,7 +486,7 @@ static int tpm_binary_bios_measurements_open(struct inode *inode,
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,
.read = seq_read,
.llseek = seq_lseek,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册