summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@linaro.org>2012-01-13 10:59:07 +0100
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:06:09 +0200
commit04fb350c99fa8b59dbce567a696ce422bdc054dd (patch)
tree7afe6b3fbcc70f5709114fa22c7fe04bb77c6971
parent3d9343d19c7fe803adad87a0af2a017a9ef6ead0 (diff)
Documentation:add kernel-doc for sensor
Add kernel docs for sensors Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
-rw-r--r--Documentation/DocBook/lsm303dlh.tmpl1
-rw-r--r--drivers/hwmon/lsm303dlh_a.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/DocBook/lsm303dlh.tmpl b/Documentation/DocBook/lsm303dlh.tmpl
index 3b1c6afa65f..1000481e205 100644
--- a/Documentation/DocBook/lsm303dlh.tmpl
+++ b/Documentation/DocBook/lsm303dlh.tmpl
@@ -84,6 +84,7 @@
This chapter contains the autogenerated documentation of the internal functions.
</para>
!Idrivers/hwmon/lsm303dlh_a.c
+!Idrivers/hwmon/lsm303dlhc_a.c
!Idrivers/hwmon/lsm303dlh_m.c
</chapter>
diff --git a/drivers/hwmon/lsm303dlh_a.c b/drivers/hwmon/lsm303dlh_a.c
index 309d60ae8ec..b9888add334 100644
--- a/drivers/hwmon/lsm303dlh_a.c
+++ b/drivers/hwmon/lsm303dlh_a.c
@@ -171,6 +171,7 @@ struct lsm303dlh_a_t {
* @interrupt_threshold: interrupt threshold for two channels
* @early_suspend: early suspend structure
* @device_status: device is ON, OFF or SUSPENDED
+ * @id: accelerometer device id
*/
struct lsm303dlh_a_data {
struct i2c_client *client;