[SLOF] [PATCH v2 1/5] usb: Move XHCI port state arrays from header to .c file
Nikunj A Dadhania
nikunj at linux.vnet.ibm.com
Tue Aug 2 19:48:44 AEST 2016
Thomas Huth <thuth at redhat.com> writes:
> Arrays should not be declared in a header (to avoid that it gets
> declared multiple times when the header is included more than once),
> so the ps_array_usbX settings should reside in the .c file instead.
>
> Signed-off-by: Thomas Huth <thuth at redhat.com>
Reviewed-by: Nikunj A Dadhania <nikunj at linux.vnet.ibm.com>
> ---
> lib/libusb/usb-xhci.c | 17 +++++++++++++++++
> lib/libusb/usb-xhci.h | 18 ------------------
> 2 files changed, 17 insertions(+), 18 deletions(-)
Regards
Nikunj
More information about the SLOF
mailing list