summaryrefslogtreecommitdiff
path: root/payloads/libpayload/drivers/usb/ehci.c
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2011-11-04 11:50:03 +0100
committerStefan Reinauer <stefan.reinauer@coreboot.org>2011-11-04 22:11:05 +0100
commit2e768e7f171514924c3b206b7f3fbe6bf20c1c71 (patch)
treeffd804b1a8dfccfbe08451b3dd0e16ed0502bc94 /payloads/libpayload/drivers/usb/ehci.c
parent3cd0ae2c7b21174188ff1df1f98d3d5295cb7684 (diff)
downloadcoreboot-2e768e7f171514924c3b206b7f3fbe6bf20c1c71.tar.xz
libpayload: Drop usb_fatal()
We have fatal(), which is just as good. Coccinelle script: @@ expression E; @@ -usb_fatal(E) +fatal(E) Change-Id: Iabecbcc7d068cc0f82687bf51d89c2626642cd86 Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Reviewed-on: http://review.coreboot.org/395 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins)
Diffstat (limited to 'payloads/libpayload/drivers/usb/ehci.c')
-rw-r--r--payloads/libpayload/drivers/usb/ehci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/drivers/usb/ehci.c b/payloads/libpayload/drivers/usb/ehci.c
index f258e075e3..b1ccb0bf2f 100644
--- a/payloads/libpayload/drivers/usb/ehci.c
+++ b/payloads/libpayload/drivers/usb/ehci.c
@@ -312,11 +312,11 @@ ehci_init (pcidev_t addr)
hci_t *controller = new_controller ();
if (!controller)
- usb_fatal("Could not create USB controller instance.\n");
+ fatal("Could not create USB controller instance.\n");
controller->instance = malloc (sizeof (ehci_t));
if(!controller->instance)
- usb_fatal("Not enough memory creating USB controller instance.\n");
+ fatal("Not enough memory creating USB controller instance.\n");
#define PCI_COMMAND 4
#define PCI_COMMAND_IO 1