dm: core: Add a required struct declaration
authorSimon Glass <sjg@chromium.org>
Mon, 28 Feb 2022 19:08:33 +0000 (12:08 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 6 Apr 2022 18:03:17 +0000 (14:03 -0400)
commitbb36b9a7d67c4a1acbda860a6826fba9e9ddd451
tree0eb9bb3832b131001ed7115171b09aa4c6b55450
parent09bc3d2eacc31bd36ae092f8bc6795a8b9276192
dm: core: Add a required struct declaration

This file uses struct driver, so declare it at the top in case the
header-inclusion order is not as expected.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/dm/device-internal.h