Modified: trunk/drivers/staging/iio/adc/ad7414.c (8611 => 8612)
--- trunk/drivers/staging/iio/adc/ad7414.c 2010-04-06 09:11:59 UTC (rev 8611)
+++ trunk/drivers/staging/iio/adc/ad7414.c 2010-04-07 02:18:20 UTC (rev 8612)
@@ -147,7 +147,7 @@
return ret;
}
-IIO_DEVICE_ATTR(mode, S_IRUGO | S_IWUSR,
+static IIO_DEVICE_ATTR(mode, S_IRUGO | S_IWUSR,
ad7414_show_mode,
ad7414_store_mode,
0);
@@ -159,7 +159,7 @@
return sprintf(buf, "full\npower-save\n");
}
-IIO_DEVICE_ATTR(available_modes, S_IRUGO, ad7414_show_available_modes, NULL, 0);
+static IIO_DEVICE_ATTR(available_modes, S_IRUGO, ad7414_show_available_modes, NULL, 0);
static ssize_t ad7414_show_temperature(struct device *dev,
struct device_attribute *attr,
@@ -195,7 +195,7 @@
return sprintf(buf, "%c%d.%.2d\n", sign, (data >> 2), (data & 3) * 25);
}
-IIO_DEVICE_ATTR(temperature, S_IRUGO, ad7414_show_temperature, NULL, 0);
+static IIO_DEVICE_ATTR(temperature, S_IRUGO, ad7414_show_temperature, NULL, 0);
static ssize_t ad7414_show_name(struct device *dev,
struct device_attribute *attr,
@@ -206,7 +206,7 @@
return sprintf(buf, "%s\n", chip->name);
}
-IIO_DEVICE_ATTR(name, S_IRUGO, ad7414_show_name, NULL, 0);
+static IIO_DEVICE_ATTR(name, S_IRUGO, ad7414_show_name, NULL, 0);
static struct attribute *ad7414_attributes[] = {
&iio_dev_attr_available_modes.dev_attr.attr,