Commit 9dd1cb30 authored by Jonathan Cameron's avatar Jonathan Cameron Committed by Greg Kroah-Hartman

staging:iio: push "sysfs.h" and linux/irq.h out of iio.h

These are no longer needed.
Requires a few driver updates for places "sysfs.h" should have been
present but wasn't.
Signed-off-by: default avatarJonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent c009f7e4
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <linux/err.h> #include <linux/err.h>
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h"
#include "dac.h" #include "dac.h"
#include "max517.h" #include "max517.h"
......
...@@ -13,8 +13,6 @@ ...@@ -13,8 +13,6 @@
#include <linux/device.h> #include <linux/device.h>
#include <linux/cdev.h> #include <linux/cdev.h>
#include <linux/irq.h>
#include "sysfs.h"
/* IIO TODO LIST */ /* IIO TODO LIST */
/* /*
......
...@@ -26,6 +26,8 @@ ...@@ -26,6 +26,8 @@
#include "iio_core.h" #include "iio_core.h"
#include "iio_core_trigger.h" #include "iio_core_trigger.h"
#include "chrdev.h" #include "chrdev.h"
#include "sysfs.h"
/* IDA to assign each registered device a unique id*/ /* IDA to assign each registered device a unique id*/
static DEFINE_IDA(iio_ida); static DEFINE_IDA(iio_ida);
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include "iio.h" #include "iio.h"
#include "iio_core.h" #include "iio_core.h"
#include "sysfs.h"
#include "ring_generic.h" #include "ring_generic.h"
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/slab.h> #include <linux/slab.h>
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h"
#define CONVERSION_TIME_MS 100 #define CONVERSION_TIME_MS 100
#define ISL29018_REG_ADD_COMMAND1 0x00 #define ISL29018_REG_ADD_COMMAND1 0x00
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h"
#include "tsl2563.h" #include "tsl2563.h"
/* Use this many bits for fraction part. */ /* Use this many bits for fraction part. */
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include <linux/gpio.h> #include <linux/gpio.h>
#include "../iio.h" #include "../iio.h"
#include "../sysfs.h"
/* /*
* Register definitions, as well as various shifts and masks to get at the * Register definitions, as well as various shifts and masks to get at the
* individual fields of the registers. * individual fields of the registers.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment