diff options
-rw-r--r-- | src/drivers/usb/ehci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/usb/ehci.h b/src/drivers/usb/ehci.h index b9054cfb1c..3feab86599 100644 --- a/src/drivers/usb/ehci.h +++ b/src/drivers/usb/ehci.h @@ -97,7 +97,7 @@ struct ehci_regs { #define FLAG_CF (1<<0) /* true: we'll support "high speed" */ /* PORTSC: offset 0x44 */ - u32 port_status[0]; /* up to N_PORTS */ + u32 port_status[]; /* up to N_PORTS */ /* EHCI 1.1 addendum */ #define PORTSC_SUSPEND_STS_ACK 0 #define PORTSC_SUSPEND_STS_NYET 1 |