]> git.baikalelectronics.ru Git - uboot.git/commit
i2c: designware_i2c: Move dw_i2c_speed_config to header
authorSimon Glass <sjg@chromium.org>
Thu, 23 Jan 2020 18:48:24 +0000 (11:48 -0700)
committerHeiko Schocher <hs@denx.de>
Mon, 27 Jan 2020 06:24:29 +0000 (07:24 +0100)
commitdf86bc45ed3e77a1964208661d6b6bb0220cdeb0
treebc84d2ec4e9230afa357f3d7746cf91b8f935681
parent13632e641b26f09c4b989f9a62138c0268e049b7
i2c: designware_i2c: Move dw_i2c_speed_config to header

This is used to store the speed information for a bus. We want to provide
this to ACPI so that it can tell the kernel. Move this struct to the
header file so it can be accessed by the ACPI i2c implementation being
added later.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/i2c/designware_i2c.c
drivers/i2c/designware_i2c.h