summaryrefslogtreecommitdiffhomepage
path: root/dev/ddk/src/ddk_dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'dev/ddk/src/ddk_dev.c')
-rw-r--r--dev/ddk/src/ddk_dev.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/ddk/src/ddk_dev.c b/dev/ddk/src/ddk_dev.c
index 4cd7dcdd..32ec2442 100644
--- a/dev/ddk/src/ddk_dev.c
+++ b/dev/ddk/src/ddk_dev.c
@@ -6,14 +6,14 @@
------------------------------------------- */
-#include <DDKKit/dev.h>
-#include <DDKKit/str.h>
+#include <DriverKit/dev.h>
+#include <DriverKit/str.h>
/// @brief Open a new binary device from path.
DDK_EXTERN DDK_DEVICE_PTR open(const char* devicePath) {
if (!devicePath) return nil;
- return ke_call("dk_open_dev", 1, (void*) devicePath, kstrlen(devicePath));
+ return ke_call_dispatch("dk_open_dev", 1, (void*) devicePath, kstrlen(devicePath));
}
/// @brief Close any device.
@@ -21,6 +21,6 @@ DDK_EXTERN DDK_DEVICE_PTR open(const char* devicePath) {
DDK_EXTERN BOOL close(DDK_DEVICE_PTR device) {
if (!device) return NO;
- ke_call("dk_close_dev", 1, device, sizeof(DDK_DEVICE));
+ ke_call_dispatch("dk_close_dev", 1, device, sizeof(DDK_DEVICE));
return YES;
}