]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
ARM: tegra: bbc: fix compiler error for threshold
authorNeil Patel <neilp@nvidia.com>
Thu, 2 May 2013 19:38:59 +0000 (15:38 -0400)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:11:48 +0000 (13:11 -0700)
The threshold attribute should be static to avoid conflicts.

Bug 1254450

Change-Id: I8a46066ef2c8891ae7edb820e938db329bbd9bee
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/225699
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
arch/arm/mach-tegra/tegra_bbc_proxy.c

index 386994e0ea9fc6bfd16a57b5c4c8ba2a151d5308..5b1c50a226a8fa7a972753d55e07072621f7714e 100644 (file)
@@ -227,7 +227,7 @@ static ssize_t threshold_store(struct device *pdev,
 
        return ret;
 }
-DEVICE_ATTR(threshold, S_IWUSR, NULL, threshold_store);
+static DEVICE_ATTR(threshold, S_IWUSR, NULL, threshold_store);
 
 static struct device_attribute *edp_attributes[] = {
        &dev_attr_i_breach_ppm,