* [2.6 patch] tpm_bios.c: make 2 structs static
@ 2008-04-23 9:50 Adrian Bunk
2008-04-23 10:12 ` [tpmdd-devel] " Marcel Selhorst
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-04-23 9:50 UTC (permalink / raw)
To: tpmdd-devel; +Cc: linux-kernel
This patch makes two needlessly global structs static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
This patch has been sent on:
- 14 Apr 2008
- 31 Mar 2008
drivers/char/tpm/tpm_bios.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
030a8d37553ae500a00cd0005c763863452b7cbc diff --git a/drivers/char/tpm/tpm_bios.c b/drivers/char/tpm/tpm_bios.c
index 60a2d26..68f052b 100644
--- a/drivers/char/tpm/tpm_bios.c
+++ b/drivers/char/tpm/tpm_bios.c
@@ -448,7 +448,7 @@ out_free:
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 @@ out_free:
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,
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [tpmdd-devel] [2.6 patch] tpm_bios.c: make 2 structs static
2008-04-23 9:50 [2.6 patch] tpm_bios.c: make 2 structs static Adrian Bunk
@ 2008-04-23 10:12 ` Marcel Selhorst
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Selhorst @ 2008-04-23 10:12 UTC (permalink / raw)
To: Adrian Bunk; +Cc: tpmdd-devel, linux-kernel
Acked-by: Marcel Selhorst <tpm@selhorst.net>
Adrian Bunk schrieb:
> This patch makes two needlessly global structs static.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
>
> ---
>
> This patch has been sent on:
> - 14 Apr 2008
> - 31 Mar 2008
>
> drivers/char/tpm/tpm_bios.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> 030a8d37553ae500a00cd0005c763863452b7cbc diff --git a/drivers/char/tpm/tpm_bios.c b/drivers/char/tpm/tpm_bios.c
> index 60a2d26..68f052b 100644
> --- a/drivers/char/tpm/tpm_bios.c
> +++ b/drivers/char/tpm/tpm_bios.c
> @@ -448,7 +448,7 @@ out_free:
> 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 @@ out_free:
> 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,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-23 10:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-23 9:50 [2.6 patch] tpm_bios.c: make 2 structs static Adrian Bunk
2008-04-23 10:12 ` [tpmdd-devel] " Marcel Selhorst
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox