|
@@ -641,7 +641,7 @@ static const struct attribute_group ad525x_group_commands = {
|
|
|
.attrs = ad525x_attributes_commands,
|
|
|
};
|
|
|
|
|
|
-int ad_dpot_add_files(struct device *dev,
|
|
|
+static int ad_dpot_add_files(struct device *dev,
|
|
|
unsigned features, unsigned rdac)
|
|
|
{
|
|
|
int err = sysfs_create_file(&dev->kobj,
|
|
@@ -666,7 +666,7 @@ int ad_dpot_add_files(struct device *dev,
|
|
|
return err;
|
|
|
}
|
|
|
|
|
|
-inline void ad_dpot_remove_files(struct device *dev,
|
|
|
+static inline void ad_dpot_remove_files(struct device *dev,
|
|
|
unsigned features, unsigned rdac)
|
|
|
{
|
|
|
sysfs_remove_file(&dev->kobj,
|