diff options
author | Andy Shevchenko <[email protected]> | 2020-05-19 15:50:38 +0300 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2020-05-22 16:50:19 +0200 |
commit | a19f133f694c8f5549d46b43e4b30343b35c3aa5 (patch) | |
tree | fea33850506c26f2b277cee18a7bd58315c36df1 | |
parent | ab0ef8bac10db48b1045e5d492a21511e54babaf (diff) |
i2c: designware: Include proper headers in i2c-desingware-core.h
This header is a user of some generic ones, include them respectively.
Signed-off-by: Andy Shevchenko <[email protected]>
Acked-by: Jarkko Nikula <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
-rw-r--r-- | drivers/i2c/busses/i2c-designware-core.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-designware-core.h b/drivers/i2c/busses/i2c-designware-core.h index 6202f9ee953d..94d9ad15133a 100644 --- a/drivers/i2c/busses/i2c-designware-core.h +++ b/drivers/i2c/busses/i2c-designware-core.h @@ -9,7 +9,13 @@ * Copyright (C) 2009 Provigent Ltd. */ +#include <linux/bits.h> +#include <linux/compiler_types.h> +#include <linux/completion.h> +#include <linux/dev_printk.h> +#include <linux/errno.h> #include <linux/i2c.h> +#include <linux/types.h> #define DW_IC_DEFAULT_FUNCTIONALITY (I2C_FUNC_I2C | \ I2C_FUNC_SMBUS_BYTE | \ @@ -170,6 +176,9 @@ DW_IC_TX_ABRT_TXDATA_NOACK | \ DW_IC_TX_ABRT_GCALL_NOACK) +struct clk; +struct device; +struct reset_control; /** * struct dw_i2c_dev - private i2c-designware data |