diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2011-08-31 21:49:39 +0100 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2011-09-07 09:58:27 +0200 |
| commit | 9147b752887d65dfe2431f0fbff1d4a2545344d0 (patch) | |
| tree | 188bae59411243c9c741dd64fa932396609bde9a /hw/usb.h | |
| parent | d67915786822b42094ce99768e595994cf6de0bf (diff) | |
| download | focaccia-qemu-9147b752887d65dfe2431f0fbff1d4a2545344d0.tar.gz focaccia-qemu-9147b752887d65dfe2431f0fbff1d4a2545344d0.zip | |
usb: Remove leading underscores from __musb_irq_max
Identifiers with double leading underscore are reserved, so rename __musb_irq_max so we don't encroach on reserved namespace. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb.h')
| -rw-r--r-- | hw/usb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/usb.h b/hw/usb.h index 73479d66c9..e251e616f4 100644 --- a/hw/usb.h +++ b/hw/usb.h @@ -338,7 +338,8 @@ enum musb_irq_source_e { musb_irq_tx, musb_set_vbus, musb_set_session, - __musb_irq_max, + /* Add new interrupts here */ + musb_irq_max, /* total number of interrupts defined */ }; typedef struct MUSBState MUSBState; |