diff --git a/src/add-ons/kernel/drivers/power/acpi_button/acpi_button.c b/src/add-ons/kernel/drivers/power/acpi_button/acpi_button.c index b0221bc829..747d976edd 100644 --- a/src/add-ons/kernel/drivers/power/acpi_button/acpi_button.c +++ b/src/add-ons/kernel/drivers/power/acpi_button/acpi_button.c @@ -9,6 +9,7 @@ #include +int32 api_version = B_CUR_DRIVER_API_VERSION; acpi_module_info *acpi; status_t diff --git a/src/add-ons/kernel/drivers/power/acpi_ns_dump/acpi_ns_dump.c b/src/add-ons/kernel/drivers/power/acpi_ns_dump/acpi_ns_dump.c index 6d2c1489d5..bfd286c95a 100644 --- a/src/add-ons/kernel/drivers/power/acpi_ns_dump/acpi_ns_dump.c +++ b/src/add-ons/kernel/drivers/power/acpi_ns_dump/acpi_ns_dump.c @@ -11,6 +11,7 @@ #include #include +int32 api_version = B_CUR_DRIVER_API_VERSION; #include acpi_module_info *acpi; @@ -246,7 +247,7 @@ device_hooks my_device_hooks = { const char** publish_devices() { - dprintf("acpi_ns_driver: publish_devices\n"); + dprintf("acpi_ns_dump: publish_devices\n"); return my_device_name; } @@ -258,6 +259,6 @@ publish_devices() device_hooks* find_device(const char* name) { - dprintf("acpi_ns_driver: find_device(%s)\n", name); + dprintf("acpi_ns_dump: find_device(%s)\n", name); return &my_device_hooks; } diff --git a/src/add-ons/kernel/drivers/power/acpi_thermal/acpi_thermal.c b/src/add-ons/kernel/drivers/power/acpi_thermal/acpi_thermal.c index 726c8b2cc3..b9b5af9596 100644 --- a/src/add-ons/kernel/drivers/power/acpi_thermal/acpi_thermal.c +++ b/src/add-ons/kernel/drivers/power/acpi_thermal/acpi_thermal.c @@ -6,6 +6,7 @@ #include "acpi_thermal_dev.h" #include "acpi_thermal.h" +int32 api_version = B_CUR_DRIVER_API_VERSION; acpi_module_info *acpi; static thermal_dev *device_list = NULL;