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>
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,