diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2013-12-07 10:10:26 -0500 |
---|---|---|
committer | Peter Huewe <peterhuewe@gmx.de> | 2014-01-06 08:37:25 -0500 |
commit | 5f64822d63efa20cee9efe8766b3a62ab6a1f6c3 (patch) | |
tree | 80c0091e59706018c8bc787532d1eae1a6e4c952 /drivers/char/tpm | |
parent | 19b94d2df5349acb7785fd7bc96a98541b07916c (diff) |
tpm/tpm-sysfs: active_show() can be static
so we make it static
CC: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
CC: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Diffstat (limited to 'drivers/char/tpm')
-rw-r--r-- | drivers/char/tpm/tpm-sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm-sysfs.c b/drivers/char/tpm/tpm-sysfs.c index c3503cb70a37..01730a27ae07 100644 --- a/drivers/char/tpm/tpm-sysfs.c +++ b/drivers/char/tpm/tpm-sysfs.c | |||
@@ -148,7 +148,7 @@ static ssize_t enabled_show(struct device *dev, struct device_attribute *attr, | |||
148 | } | 148 | } |
149 | static DEVICE_ATTR_RO(enabled); | 149 | static DEVICE_ATTR_RO(enabled); |
150 | 150 | ||
151 | ssize_t active_show(struct device *dev, struct device_attribute *attr, | 151 | static ssize_t active_show(struct device *dev, struct device_attribute *attr, |
152 | char *buf) | 152 | char *buf) |
153 | { | 153 | { |
154 | cap_t cap; | 154 | cap_t cap; |