added missing api_version symbol

fixed debug output


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18881 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2006-09-18 13:24:05 +00:00
parent a0e9b7d3ee
commit edf0dccab5
3 changed files with 5 additions and 2 deletions

View File

@ -9,6 +9,7 @@
#include <ACPI.h>
int32 api_version = B_CUR_DRIVER_API_VERSION;
acpi_module_info *acpi;
status_t

View File

@ -11,6 +11,7 @@
#include <string.h>
#include <malloc.h>
int32 api_version = B_CUR_DRIVER_API_VERSION;
#include <ACPI.h>
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;
}

View File

@ -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;