diff options
author | Simon Glass <sjg@chromium.org> | 2020-12-19 10:39:54 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-01-05 12:24:41 -0700 |
commit | f05a7c5ba452c3cee34378ed2ecc206c1605fce1 (patch) | |
tree | bd005d9bfd45644cc1814c8dbab9de398a49c2fe /arch | |
parent | bfae6cc48afa5bc22703c93af70b27501900f56a (diff) | |
download | u-boot-f05a7c5ba452c3cee34378ed2ecc206c1605fce1.tar.gz |
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 <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sandbox/include/asm/i2c.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/i2c.h b/arch/sandbox/include/asm/i2c.h new file mode 100644 index 0000000000..b482be485c --- /dev/null +++ b/arch/sandbox/include/asm/i2c.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2020 Google LLC + * Written by Simon Glass <sjg@chromium.org> + */ + +#ifndef __asn_i2c_h +#define __asn_i2c_h + +struct sandbox_i2c_priv { + bool test_mode; +}; + +#endif /* __asn_i2c_h */ |