diff options
author | Patrick Georgi <patrick.georgi@secunet.com> | 2011-11-04 11:50:03 +0100 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2011-11-04 22:11:05 +0100 |
commit | 2e768e7f171514924c3b206b7f3fbe6bf20c1c71 (patch) | |
tree | ffd804b1a8dfccfbe08451b3dd0e16ed0502bc94 /payloads/libpayload/drivers/usb/ohci_rh.c | |
parent | 3cd0ae2c7b21174188ff1df1f98d3d5295cb7684 (diff) | |
download | coreboot-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/ohci_rh.c')
-rw-r--r-- | payloads/libpayload/drivers/usb/ohci_rh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/drivers/usb/ohci_rh.c b/payloads/libpayload/drivers/usb/ohci_rh.c index da74340abd..5cf7ee8376 100644 --- a/payloads/libpayload/drivers/usb/ohci_rh.c +++ b/payloads/libpayload/drivers/usb/ohci_rh.c @@ -143,7 +143,7 @@ ohci_rh_init (usbdev_t *dev) dev->data = malloc (sizeof (rh_inst_t)); if (!dev->data) - usb_fatal ("Not enough memory for OHCI RH.\n"); + fatal("Not enough memory for OHCI RH.\n"); RH_INST (dev)->numports = OHCI_INST (dev->controller)->opreg->HcRhDescriptorA & NumberDownstreamPortsMask; RH_INST (dev)->port = malloc(sizeof(int) * RH_INST (dev)->numports); |