]> git.dujemihanovic.xyz Git - u-boot.git/commit
i2c: designware_i2c: Include clk.h in the header file
authorSimon Glass <sjg@chromium.org>
Thu, 23 Jan 2020 18:48:06 +0000 (11:48 -0700)
committerHeiko Schocher <hs@denx.de>
Mon, 27 Jan 2020 06:18:46 +0000 (07:18 +0100)
commitafb88651a689aa0aed67c4cf439f1dc0d8803d5a
tree8772d96cd41788d4484f283fa976d4b47b723adf
parent25eb0fb667dc64cb819905deccccbb36908e5bd6
i2c: designware_i2c: Include clk.h in the header file

We use struct clk here so really should include this header file to avoid
build errors. Also switch the order of clk.h in the C file to match the
required code style.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com>
Reviewed-by: Jun Chen <ptchentw@gmail.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/i2c/designware_i2c.c
drivers/i2c/designware_i2c.h