From edf0dccab51c224b5845128ada853f7bc81a3518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Mon, 18 Sep 2006 13:24:05 +0000 Subject: [PATCH] added missing api_version symbol fixed debug output git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18881 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/drivers/power/acpi_button/acpi_button.c | 1 + src/add-ons/kernel/drivers/power/acpi_ns_dump/acpi_ns_dump.c | 5 +++-- src/add-ons/kernel/drivers/power/acpi_thermal/acpi_thermal.c | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) 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;