[PATCH] I2C: include of jiffies.h for some i2c drivers
authorDominik Hackl <dominik@hackl.dhs.org>
Mon, 16 May 2005 16:12:18 +0000 (18:12 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Jun 2005 04:51:57 +0000 (21:51 -0700)
This patch includes jiffies.h in two i2c drivers.
(jiffies.h is needed for the time_after function.)

Signed-off-by: Dominik Hackl <dominik@hackl.dhs.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/chips/asb100.c
drivers/i2c/chips/sis5595.c

index 4a47b4493e34aa8b567efcf818f89245a53b3182..342b1a98a8cc241fcb77f0501af448519620c8e3 100644 (file)
@@ -42,6 +42,7 @@
 #include <linux/i2c-sensor.h>
 #include <linux/i2c-vid.h>
 #include <linux/init.h>
+#include <linux/jiffies.h>
 #include "lm75.h"
 
 /*
index c6650727a27de66a0a3ae9a11e9036ba82d07e3f..6bbfc8fb4f13247d61cedb2124a74b5df4589620 100644 (file)
@@ -57,6 +57,7 @@
 #include <linux/i2c.h>
 #include <linux/i2c-sensor.h>
 #include <linux/init.h>
+#include <linux/jiffies.h>
 #include <asm/io.h>