aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorGrant Coady <grant_lkml@dodo.com.au>2005-05-06 03:40:51 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-22 00:51:56 -0400
commitb9826b3ee8faa468a26782e3bf37716a73d96730 (patch)
treee714c037b2862cf8c592311c09958ffba818259d /drivers/i2c
parent815f55f280fb2781ba1c2a350516b73e55119c60 (diff)
[PATCH] I2C: remove <linux/delay.h> from via686a
In my cross-reference checking of sysfs names, the via686a needs special case treatment as it the only driver expands S_IWUSR to 00200 with gcc -E. (00200 is the correct value for S_IWUSR). This is caused by the driver including <linux/delay.h>, it compiles fine without that header but I am unable to test drive the change. Signed-off-by: Grant Coady <gcoady@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/chips/via686a.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/chips/via686a.c b/drivers/i2c/chips/via686a.c
index 65bab3a70903..e7a686267942 100644
--- a/drivers/i2c/chips/via686a.c
+++ b/drivers/i2c/chips/via686a.c
@@ -33,7 +33,6 @@
33#include <linux/module.h> 33#include <linux/module.h>
34#include <linux/slab.h> 34#include <linux/slab.h>
35#include <linux/pci.h> 35#include <linux/pci.h>
36#include <linux/delay.h>
37#include <linux/jiffies.h> 36#include <linux/jiffies.h>
38#include <linux/i2c.h> 37#include <linux/i2c.h>
39#include <linux/i2c-sensor.h> 38#include <linux/i2c-sensor.h>