Commit 5f64822d authored by Fengguang Wu's avatar Fengguang Wu Committed by Peter Huewe

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: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarPeter Huewe <peterhuewe@gmx.de>
parent 19b94d2d
......@@ -148,7 +148,7 @@ static ssize_t enabled_show(struct device *dev, struct device_attribute *attr,
}
static DEVICE_ATTR_RO(enabled);
ssize_t active_show(struct device *dev, struct device_attribute *attr,
static ssize_t active_show(struct device *dev, struct device_attribute *attr,
char *buf)
{
cap_t cap;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment