aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/iio/iio.h
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@cam.ac.uk>2011-08-30 12:32:44 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-06 15:59:09 -0700
commit7ae8cf6275589a9ebb733eb5bdd093859ba1be36 (patch)
tree1d13f77c8237f113ff0aa1bb0ace8ced093b8436 /drivers/staging/iio/iio.h
parenta710cc77db9785993cddecc966a662cb772b3ad9 (diff)
staging: iio: chrdev.h rationalization.
Push some functions out of header and include this where it is needed in other headers only. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/iio.h')
-rw-r--r--drivers/staging/iio/iio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/iio.h b/drivers/staging/iio/iio.h
index 753f769736e..cfa148091ba 100644
--- a/drivers/staging/iio/iio.h
+++ b/drivers/staging/iio/iio.h
@@ -15,7 +15,6 @@
#include <linux/cdev.h>
#include <linux/irq.h>
#include "sysfs.h"
-#include "chrdev.h"
/* IIO TODO LIST */
/*
@@ -178,6 +177,7 @@ static inline s64 iio_get_time_ns(void)
#define IIO_VAL_INT_PLUS_NANO 3
struct iio_trigger; /* forward declaration */
+struct iio_dev;
/**
* struct iio_info - constant information about device