]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/staging/iio/adc/ad7816.c
Merge remote-tracking branch 'moduleh/module.h-split'
[karo-tx-linux.git] / drivers / staging / iio / adc / ad7816.c
index 16218d4a89e9c65b2c53a40238c6b718b9ffa4b2..f5aa57bb8f232ce9fa4684fd5b0c1f2bcefcf747 100644 (file)
@@ -247,7 +247,7 @@ static const struct attribute_group ad7816_attribute_group = {
  * temperature bound events
  */
 
-#define IIO_EVENT_CODE_AD7816_OTI IIO_UNMOD_EVENT_CODE(IIO_EV_CLASS_TEMP, \
+#define IIO_EVENT_CODE_AD7816_OTI IIO_UNMOD_EVENT_CODE(IIO_TEMP,       \
                                                       0,               \
                                                       IIO_EV_TYPE_THRESH, \
                                                       IIO_EV_DIR_FALLING)