Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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,