From f05a7c5ba452c3cee34378ed2ecc206c1605fce1 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 19 Dec 2020 10:39:54 -0700 Subject: sandbox: i2c: Move priv into a header file Move this struct into a header file so that dtoc can include it in its dt-platdata.c file. Signed-off-by: Simon Glass --- drivers/i2c/sandbox_i2c.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'drivers/i2c') diff --git a/drivers/i2c/sandbox_i2c.c b/drivers/i2c/sandbox_i2c.c index a61dfc096b..c99e6de933 100644 --- a/drivers/i2c/sandbox_i2c.c +++ b/drivers/i2c/sandbox_i2c.c @@ -10,15 +10,12 @@ #include #include #include +#include #include #include #include #include -struct sandbox_i2c_priv { - bool test_mode; -}; - static int get_emul(struct udevice *dev, struct udevice **devp, struct dm_i2c_ops **opsp) { -- cgit v1.2.3