diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-10-16 13:56:33 +0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2013-10-30 19:46:30 +0400 |
commit | 4edd65e63fe4a998164a8d7d8c8c86f4300825d7 (patch) | |
tree | 2a7e5ae48dc0d93acd3f551882917e4db42bb620 /drivers/i2c/busses/i2c-pnx.c | |
parent | 19e221bed222bbcaa0436265028de3346df89024 (diff) | |
download | linux-4edd65e63fe4a998164a8d7d8c8c86f4300825d7.tar.xz |
i2c: Include linux/of.h header
'of_match_ptr' is defined in linux/of.h. Include it explicitly to
avoid build breakage in the future.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-pnx.c')
-rw-r--r-- | drivers/i2c/busses/i2c-pnx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-pnx.c b/drivers/i2c/busses/i2c-pnx.c index 1a9ea25f2314..c9a352f0a9a5 100644 --- a/drivers/i2c/busses/i2c-pnx.c +++ b/drivers/i2c/busses/i2c-pnx.c @@ -23,6 +23,7 @@ #include <linux/err.h> #include <linux/clk.h> #include <linux/slab.h> +#include <linux/of.h> #define I2C_PNX_TIMEOUT_DEFAULT 10 /* msec */ #define I2C_PNX_SPEED_KHZ_DEFAULT 100 |