]> Git Repo - linux.git/commitdiff
tpm/tpm-sysfs: active_show() can be static
authorFengguang Wu <[email protected]>
Sat, 7 Dec 2013 15:10:26 +0000 (16:10 +0100)
committerPeter Huewe <[email protected]>
Mon, 6 Jan 2014 13:37:25 +0000 (14:37 +0100)
so we make it static

CC: Jason Gunthorpe <[email protected]>
CC: Peter Huewe <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: Peter Huewe <[email protected]>
drivers/char/tpm/tpm-sysfs.c

index c3503cb70a379264345bf467fc50e8772f6c53bf..01730a27ae076c03307be46f9edd4a838cffb04e 100644 (file)
@@ -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;
This page took 0.056561 seconds and 4 git commands to generate.