device_shutdown returns int.
This commit is contained in:
parent
93f8c41e18
commit
935c541038
@ -79,7 +79,7 @@ typedef int hkey_fn_t(ACPI_HANDLE, int, UINT32 *);
|
||||
static int acpi_panasonic_probe(device_t dev);
|
||||
static int acpi_panasonic_attach(device_t dev);
|
||||
static int acpi_panasonic_detach(device_t dev);
|
||||
static void acpi_panasonic_shutdown(device_t dev);
|
||||
static int acpi_panasonic_shutdown(device_t dev);
|
||||
static int acpi_panasonic_sysctl(SYSCTL_HANDLER_ARGS);
|
||||
static ACPI_INTEGER acpi_panasonic_sinf(ACPI_HANDLE h, ACPI_INTEGER index);
|
||||
static void acpi_panasonic_sset(ACPI_HANDLE h, ACPI_INTEGER index,
|
||||
@ -220,7 +220,7 @@ acpi_panasonic_detach(device_t dev)
|
||||
return (0);
|
||||
}
|
||||
|
||||
static void
|
||||
static int
|
||||
acpi_panasonic_shutdown(device_t dev)
|
||||
{
|
||||
struct acpi_panasonic_softc *sc;
|
||||
@ -230,6 +230,7 @@ acpi_panasonic_shutdown(device_t dev)
|
||||
sc = device_get_softc(dev);
|
||||
mute = 1;
|
||||
hkey_sound_mute(sc->handle, HKEY_SET, &mute);
|
||||
return (0);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user