[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/5] usb-hub: tweak feature names
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 1/5] usb-hub: tweak feature names |
Date: |
Wed, 22 May 2019 11:23:47 +0200 |
Add dashes, so they don't look like two separate things when printed.
Signed-off-by: Gerd Hoffmann <address@hidden>
---
hw/usb/dev-hub.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/hw/usb/dev-hub.c b/hw/usb/dev-hub.c
index 7e9339b8a83d..9b04b6a6ec2d 100644
--- a/hw/usb/dev-hub.c
+++ b/hw/usb/dev-hub.c
@@ -287,11 +287,11 @@ static const char *feature_name(int feature)
[PORT_POWER] = "power",
[PORT_LOWSPEED] = "lowspeed",
[PORT_HIGHSPEED] = "highspeed",
- [PORT_C_CONNECTION] = "change connection",
- [PORT_C_ENABLE] = "change enable",
- [PORT_C_SUSPEND] = "change suspend",
- [PORT_C_OVERCURRENT] = "change overcurrent",
- [PORT_C_RESET] = "change reset",
+ [PORT_C_CONNECTION] = "change-connection",
+ [PORT_C_ENABLE] = "change-enable",
+ [PORT_C_SUSPEND] = "change-suspend",
+ [PORT_C_OVERCURRENT] = "change-overcurrent",
+ [PORT_C_RESET] = "change-reset",
[PORT_TEST] = "test",
[PORT_INDICATOR] = "indicator",
};
--
2.18.1
- [Qemu-devel] [PATCH 0/5] usb-hub: cleanups, configurable port count, per-port power switching emulation., Gerd Hoffmann, 2019/05/22
- [Qemu-devel] [PATCH 1/5] usb-hub: tweak feature names,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 4/5] usb-hub: add usb_hub_port_update(), Gerd Hoffmann, 2019/05/22
- [Qemu-devel] [PATCH 2/5] usb-hub: make number of ports runtime-configurable, Gerd Hoffmann, 2019/05/22
- [Qemu-devel] [PATCH 3/5] usb-hub: add helpers to update port state, Gerd Hoffmann, 2019/05/22
- [Qemu-devel] [PATCH 5/5] usb-hub: emulate per port power switching, Gerd Hoffmann, 2019/05/22
- Re: [Qemu-devel] [PATCH 0/5] usb-hub: cleanups, configurable port count, per-port power switching emulation., no-reply, 2019/05/22