]> git.sur5r.net Git - u-boot/commit
usb:gadget:Remove redundant #includes for USB composite gadget and its functions
authorLukasz Majewski <l.majewski@samsung.com>
Tue, 17 Sep 2013 13:58:22 +0000 (15:58 +0200)
committerMarek Vasut <marex@denx.de>
Tue, 24 Sep 2013 15:51:36 +0000 (17:51 +0200)
commit69d6cbe748ae13e6b728d2c28616a8c54b07f9c2
treea9f6570d4a0fbe92e45906f9242aa1f4f47528c1
parentba4e95c9f0e18ddeff55ef1b94be650d7b653d3f
usb:gadget:Remove redundant #includes for USB composite gadget and its functions

Only the <linux/usb/gadget.h> requires error.h include. Hence, several
includes of error.h at USB gadget functions are not needed.

Moreover unnecessary malloc.h includes were also removed.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Cc: Marek Vasut <marex@denx.de>
common/cmd_dfu.c
common/cmd_usb_mass_storage.c
drivers/usb/gadget/g_dnl.c
include/linux/usb/gadget.h