summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Hackl <dominik@hackl.dhs.org>2005-05-16 18:12:18 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-21 21:51:57 -0700
commitff3240946d6a3d9f2ecf273f7330e09eec5484eb (patch)
tree2bb70f76eb190a9301a7f30f264306f82363c12a
parent8e8f9289cc5b781d583d5aed935abf060207bbd3 (diff)
[PATCH] I2C: include of jiffies.h for some i2c drivers
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>
-rw-r--r--drivers/i2c/chips/asb100.c1
-rw-r--r--drivers/i2c/chips/sis5595.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/i2c/chips/asb100.c b/drivers/i2c/chips/asb100.c
index 4a47b4493e3..342b1a98a8c 100644
--- a/drivers/i2c/chips/asb100.c
+++ b/drivers/i2c/chips/asb100.c
@@ -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"
/*
diff --git a/drivers/i2c/chips/sis5595.c b/drivers/i2c/chips/sis5595.c
index c6650727a27..6bbfc8fb4f1 100644
--- a/drivers/i2c/chips/sis5595.c
+++ b/drivers/i2c/chips/sis5595.c
@@ -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>