From 5f64822d63efa20cee9efe8766b3a62ab6a1f6c3 Mon Sep 17 00:00:00 2001 From: Fengguang Wu Date: Sat, 7 Dec 2013 16:10:26 +0100 Subject: tpm/tpm-sysfs: active_show() can be static so we make it static CC: Jason Gunthorpe CC: Peter Huewe Signed-off-by: Fengguang Wu Signed-off-by: Peter Huewe --- drivers/char/tpm/tpm-sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/char/tpm/tpm-sysfs.c') 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, } 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; -- cgit v1.2.3-59-g8ed1b