Skip to content

Commit

Permalink
tpm_bios.c: make 2 structs static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Jul 26, 2008
1 parent 061991e commit 3bd6046
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/char/tpm/tpm_bios.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 3bd6046

Please sign in to comment.