usb: Drop dm.h header file
authorSimon Glass <sjg@chromium.org>
Sun, 19 Jul 2020 16:15:55 +0000 (10:15 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 4 Aug 2020 02:19:54 +0000 (22:19 -0400)
commit161786259ca43dc4cad40755b48f868768577270
tree0f34dca603e5fd5d0d96280e65e19375ea33c4e7
parent98eb4ce592d9109b53a75f1f0ff4cc470a597f1b
usb: Drop dm.h header file

This header file should not be included in other header files. Remove it
and use a forward declaration instead.

Also move the inline function out into a C file. We should not include C
code in headers.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/usb/musb-new/musb_uboot.c
drivers/usb/musb-new/pic32.c
drivers/usb/musb-new/usb-compat.h