Modified: trunk/drivers/staging/iio/adc/ad7314.c (8614 => 8615)
--- trunk/drivers/staging/iio/adc/ad7314.c 2010-04-07 02:19:34 UTC (rev 8614)
+++ trunk/drivers/staging/iio/adc/ad7314.c 2010-04-07 02:20:05 UTC (rev 8615)
@@ -123,7 +123,7 @@
return ret;
}
-IIO_DEVICE_ATTR(mode, S_IRUGO | S_IWUSR,
+static IIO_DEVICE_ATTR(mode, S_IRUGO | S_IWUSR,
ad7314_show_mode,
ad7314_store_mode,
0);
@@ -135,7 +135,7 @@
return sprintf(buf, "full\npower-save\n");
}
-IIO_DEVICE_ATTR(available_modes, S_IRUGO, ad7314_show_available_modes, NULL, 0);
+static IIO_DEVICE_ATTR(available_modes, S_IRUGO, ad7314_show_available_modes, NULL, 0);
static ssize_t ad7314_show_temperature(struct device *dev,
struct device_attribute *attr,
@@ -184,7 +184,7 @@
}
}
-IIO_DEVICE_ATTR(temperature, S_IRUGO, ad7314_show_temperature, NULL, 0);
+static IIO_DEVICE_ATTR(temperature, S_IRUGO, ad7314_show_temperature, NULL, 0);
static ssize_t ad7314_show_name(struct device *dev,
struct device_attribute *attr,
@@ -195,7 +195,7 @@
return sprintf(buf, "%s\n", chip->name);
}
-IIO_DEVICE_ATTR(name, S_IRUGO, ad7314_show_name, NULL, 0);
+static IIO_DEVICE_ATTR(name, S_IRUGO, ad7314_show_name, NULL, 0);
static struct attribute *ad7314_attributes[] = {
&iio_dev_attr_available_modes.dev_attr.attr,