Full support for Ginger Console
[linux-ginger.git] / drivers / staging / iio / light / light.h
blobf00f827689c2efd57fda1f4a4e5ed0e55ee4cf16
1 #include "../sysfs.h"
3 /* Light to digital sensor attributes */
5 #define IIO_DEV_ATTR_LIGHT_INFRARED(_num, _show, _addr) \
6 IIO_DEVICE_ATTR(light_infrared##_num, S_IRUGO, _show, NULL, _addr)
8 #define IIO_DEV_ATTR_LIGHT_BROAD(_num, _show, _addr) \
9 IIO_DEVICE_ATTR(light_broadspectrum##_num, S_IRUGO, _show, NULL, _addr)
11 #define IIO_DEV_ATTR_LIGHT_VISIBLE(_num, _show, _addr) \
12 IIO_DEVICE_ATTR(light_visible##_num, S_IRUGO, _show, NULL, _addr)