aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/bus.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2015-02-06 14:18:24 +0100
committerMarkus Armbruster <armbru@redhat.com>2015-02-18 11:58:50 +0100
commit1ce6be24df0a2f634b61b9b882ac6d10af485ad6 (patch)
tree9fe55b653ce5794397e83844115fa8d5cef891db /hw/usb/bus.c
parent3e5a50d64ca9c323f8099fdf1aef02813598882d (diff)
hmp: Name HMP info handler functions hmp_info_SUBCOMMAND()
Some are called do_info_SUBCOMMAND() (old ones, usually), some hmp_info_SUBCOMMAND(), some SUBCOMMAND_info(), sometimes SUBCOMMAND pointlessly differs in spelling. Normalize to hmp_info_SUBCOMMAND(), where SUBCOMMAND is exactly the subcommand name with '-' replaced by '_'. Exceptions: * sun4m_irq_info(), sun4m_pic_info() renamed to sun4m_hmp_info_irq(), sun4m_hmp_info_pic(). * lm32_irq_info(), lm32_pic_info() renamed to lm32_hmp_info_irq(), lm32_hmp_info_pic(). Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'hw/usb/bus.c')
-rw-r--r--hw/usb/bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb/bus.c b/hw/usb/bus.c
index 986b2d8da8..677122e8fd 100644
--- a/hw/usb/bus.c
+++ b/hw/usb/bus.c
@@ -627,7 +627,7 @@ static char *usb_get_fw_dev_path(DeviceState *qdev)
return fw_path;
}
-void usb_info(Monitor *mon, const QDict *qdict)
+void hmp_info_usb(Monitor *mon, const QDict *qdict)
{
USBBus *bus;
USBDevice *dev;