Skip to content

Commit 75caec0

Browse files
andy-shevWolfram Sang
authored andcommitted
i2c: atr: Fix wrong include
The fwnode.h is not supposed to be used by the drivers as it has the definitions for the core parts for different device property provider implementations. Drop it. Note, that fwnode API for drivers is provided in property.h which is included here. Fixes: a076a86 ("media: i2c: add I2C Address Translator (ATR) support") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Mukesh Kumar Savaliya <quic_msavaliy@quicinc.com> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> [wsa: reworded subject] Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
1 parent 8ffd015 commit 75caec0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i2c/i2c-atr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
* Originally based on i2c-mux.c
99
*/
1010

11-
#include <linux/fwnode.h>
1211
#include <linux/i2c-atr.h>
1312
#include <linux/i2c.h>
1413
#include <linux/kernel.h>
1514
#include <linux/module.h>
1615
#include <linux/mutex.h>
16+
#include <linux/property.h>
1717
#include <linux/slab.h>
1818
#include <linux/spinlock.h>
1919

0 commit comments

Comments
 (0)