dm: i2c: Move definitions to the top of the header file
authorSimon Glass <sjg@chromium.org>
Fri, 3 Jul 2015 00:15:41 +0000 (18:15 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Aug 2015 02:57:51 +0000 (20:57 -0600)
commit7fc65bcf8a0a5463db86efbb273a40448c845efc
tree100f492a125ebc8de34e889f76d3292b2505fef0
parent25a0fb4385a79e6d0b186d1f13a3da0c6797da6d
dm: i2c: Move definitions to the top of the header file

Move the flags and struct definitions higher in the file so that we can
reference them with functions declared in the driver model section.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Heiko Schocher <hs@denx.de>
include/i2c.h