diff options
author | Nico Huber <nico.huber@secunet.com> | 2012-11-23 11:34:20 +0100 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2012-11-23 18:17:24 +0100 |
commit | ba22e4c3fde49b48bd711da6ad972738468ed181 (patch) | |
tree | f41219fb9b862653706ce2b1a73e763fd79b65b2 /payloads/libpayload/drivers | |
parent | 7a32e88f12efcc424a8e33de0f33f82356d73531 (diff) | |
download | coreboot-ba22e4c3fde49b48bd711da6ad972738468ed181.tar.xz |
libpayload: Fix some missing-prototype warnings
usb_controller_initialize() is not declared in any header file nor
called from outside of usbinit.c, so make it static.
set_configuration() looks like beeing non-static on purpose (like the
other helpers around it in usb.c), so put a prototype into usb.h.
Change-Id: I08d93b3769d8398bb43462d9afdfeec81fef93ec
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: http://review.coreboot.org/1894
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'payloads/libpayload/drivers')
-rw-r--r-- | payloads/libpayload/drivers/usb/usbinit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/drivers/usb/usbinit.c b/payloads/libpayload/drivers/usb/usbinit.c index 4419ce6055..f95e9c180b 100644 --- a/payloads/libpayload/drivers/usb/usbinit.c +++ b/payloads/libpayload/drivers/usb/usbinit.c @@ -42,7 +42,7 @@ * @param dev PCI device id at bus * @param func function id of the controller */ -int usb_controller_initialize(int bus, int dev, int func) +static int usb_controller_initialize(int bus, int dev, int func) { u32 class; u32 devclass; |