[PATCH] I2C: remove <linux/delay.h> from via686a
authorGrant Coady <grant_lkml@dodo.com.au>
Fri, 6 May 2005 07:40:51 +0000 (17:40 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Jun 2005 04:51:56 +0000 (21:51 -0700)
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>
drivers/i2c/chips/via686a.c

index 65bab3a70903082496d40511dc6205b0a244a51e..e7a686267942f75e3a5d7cb094f0fa05f8e2dac7 100644 (file)
@@ -33,7 +33,6 @@
 #include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/pci.h>
-#include <linux/delay.h>
 #include <linux/jiffies.h>
 #include <linux/i2c.h>
 #include <linux/i2c-sensor.h>