]> git.dujemihanovic.xyz Git - u-boot.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)
commita8d2b515f98298dc1e30d7e3ae148eeca49a97b2
treebc84d2ec4e9230afa357f3d7746cf91b8f935681
parentd96440d1e36e080ca1229dab65bc417640b58df5
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