Skip to content

Commit

Permalink
staging:iio: push "sysfs.h" and linux/irq.h out of iio.h
Browse files Browse the repository at this point in the history
These are no longer needed.
Requires a few driver updates for places "sysfs.h" should have been
present but wasn't.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed Sep 6, 2011
1 parent c009f7e commit 9dd1cb3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions drivers/staging/iio/dac/max517.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <linux/err.h>

#include "../iio.h"
#include "../sysfs.h"
#include "dac.h"

#include "max517.h"
Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/iio/iio.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

#include <linux/device.h>
#include <linux/cdev.h>
#include <linux/irq.h>
#include "sysfs.h"

/* IIO TODO LIST */
/*
Expand Down
2 changes: 2 additions & 0 deletions drivers/staging/iio/industrialio-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#include "iio_core.h"
#include "iio_core_trigger.h"
#include "chrdev.h"
#include "sysfs.h"

/* IDA to assign each registered device a unique id*/
static DEFINE_IDA(iio_ida);

Expand Down
1 change: 1 addition & 0 deletions drivers/staging/iio/industrialio-ring.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

#include "iio.h"
#include "iio_core.h"
#include "sysfs.h"
#include "ring_generic.h"


Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/light/isl29018.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <linux/delay.h>
#include <linux/slab.h>
#include "../iio.h"

#include "../sysfs.h"
#define CONVERSION_TIME_MS 100

#define ISL29018_REG_ADD_COMMAND1 0x00
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/iio/light/tsl2563.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#include <linux/slab.h>

#include "../iio.h"
#include "../sysfs.h"
#include "tsl2563.h"

/* Use this many bits for fraction part. */
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/iio/magnetometer/ak8975.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#include <linux/gpio.h>

#include "../iio.h"

#include "../sysfs.h"
/*
* Register definitions, as well as various shifts and masks to get at the
* individual fields of the registers.
Expand Down

0 comments on commit 9dd1cb3

Please sign in to comment.