]> git.baikalelectronics.ru Git - uboot.git/commit
usb: Make portspeed return a read-only string
authorIsmael Luceno Cortes <ismael.luceno@silicon-gears.com>
Mon, 1 Apr 2019 16:09:13 +0000 (16:09 +0000)
committerMarek Vasut <marex@denx.de>
Tue, 9 Apr 2019 11:11:45 +0000 (13:11 +0200)
commit7a833506a04162ec805b4e991fa015053be27064
tree0dac3be4a666790ea62dab4312ee567cd8035702
parent83ac32d8de3a9193ecc83a359f16ff67ac7b03ee
usb: Make portspeed return a read-only string

Current code is plain wrong, and there's no need to have a mutable string,
so fix function type and remove the intermediate variable.

Signed-off-by: Ismael Luceno <ismael.luceno@silicon-gears.com>
cmd/usb.c
common/usb_hub.c