From 36a4c85f911c85f5ab183331ff74d125f9a9ed32 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 25 Jan 2019 14:53:43 +0000 Subject: [init] Show startup and shutdown function names in debug messages Signed-off-by: Michael Brown --- src/drivers/usb/ehci.c | 1 + src/drivers/usb/xhci.c | 1 + 2 files changed, 2 insertions(+) (limited to 'src/drivers') diff --git a/src/drivers/usb/ehci.c b/src/drivers/usb/ehci.c index 35cbc8de..cd396707 100644 --- a/src/drivers/usb/ehci.c +++ b/src/drivers/usb/ehci.c @@ -2098,5 +2098,6 @@ static void ehci_shutdown ( int booting ) { /** Startup/shutdown function */ struct startup_fn ehci_startup __startup_fn ( STARTUP_LATE ) = { + .name = "ehci", .shutdown = ehci_shutdown, }; diff --git a/src/drivers/usb/xhci.c b/src/drivers/usb/xhci.c index ecf8bf4d..e9a7f4c6 100644 --- a/src/drivers/usb/xhci.c +++ b/src/drivers/usb/xhci.c @@ -3363,5 +3363,6 @@ static void xhci_shutdown ( int booting ) { /** Startup/shutdown function */ struct startup_fn xhci_startup __startup_fn ( STARTUP_LATE ) = { + .name = "xhci", .shutdown = xhci_shutdown, }; -- cgit v1.2.3-55-g7522