projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] make more file_operation structs static
[linux-2.6-block.git]
/
drivers
/
char
/
tpm
/
tpm_nsc.c
diff --git
a/drivers/char/tpm/tpm_nsc.c
b/drivers/char/tpm/tpm_nsc.c
index 4c8bc06c7d95af6462d867014c8528a2cc93a12e..26287aace87db5376bd7a48b18d37ba03564937f 100644
(file)
--- a/
drivers/char/tpm/tpm_nsc.c
+++ b/
drivers/char/tpm/tpm_nsc.c
@@
-226,7
+226,7
@@
static u8 tpm_nsc_status(struct tpm_chip *chip)
return inb(chip->vendor.base + NSC_STATUS);
}
-static struct file_operations nsc_ops = {
+static
const
struct file_operations nsc_ops = {
.owner = THIS_MODULE,
.llseek = no_llseek,
.open = tpm_open,