libpayload: xHCI: Always initialize controller->pcidev
commit8b8e96370dc709299da7a6393f6e190bb557685e
authorNico Huber <nico.huber@secunet.com>
Mon, 7 Jul 2014 15:20:53 +0000 (7 17:20 +0200)
committerPatrick Georgi <patrick@georgi-clan.de>
Thu, 10 Jul 2014 18:55:41 +0000 (10 20:55 +0200)
treef9b9fa4f71b1bc083e681586ff16e505b4dac869
parent6e23066d7ac31bd29b328824ec11e7d1252cf41c
libpayload: xHCI: Always initialize controller->pcidev

As the controller structure is never fully cleared, this one wasn't
initialized for non-pci controllers (but checked for non-null later).

Change-Id: I852671c5f55650bdb6cd97f4ec74b1f95ee894c7
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: http://review.coreboot.org/6246
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
payloads/libpayload/drivers/usb/xhci.c