Commit ff324094 authored by Dominik Hackl's avatar Dominik Hackl Committed by Greg Kroah-Hartman

[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: default avatarDominik Hackl <dominik@hackl.dhs.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 8e8f9289
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
#include <linux/i2c-sensor.h> #include <linux/i2c-sensor.h>
#include <linux/i2c-vid.h> #include <linux/i2c-vid.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/jiffies.h>
#include "lm75.h" #include "lm75.h"
/* /*
......
...@@ -57,6 +57,7 @@ ...@@ -57,6 +57,7 @@
#include <linux/i2c.h> #include <linux/i2c.h>
#include <linux/i2c-sensor.h> #include <linux/i2c-sensor.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/jiffies.h>
#include <asm/io.h> #include <asm/io.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment