dm: usb: Add a generic descriptor struct
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:23:00 +0000 (12:23 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:29 +0000 (11:11 -0600)
commit8e2b6619c58cbf3b797d13548fceb5d9d4c34ac3
tree647b6f9fdc4bf134cdff65dc76d8347141e3a31b
parent243d7f15e5b4744801e1c7afc193381abaa991ae
dm: usb: Add a generic descriptor struct

This is useful for creating lists of descriptors, and is better than using
void * for this purpose.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
include/linux/usb/ch9.h