diff options
Diffstat (limited to 'src/kernel/arch/amd64/driver/pata.c')
-rw-r--r-- | src/kernel/arch/amd64/driver/pata.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/kernel/arch/amd64/driver/pata.c b/src/kernel/arch/amd64/driver/pata.c index 1193add..b6ed05e 100644 --- a/src/kernel/arch/amd64/driver/pata.c +++ b/src/kernel/arch/amd64/driver/pata.c @@ -5,17 +5,16 @@ #include <kernel/arch/amd64/driver/util.h> #include <kernel/mem/virt.h> #include <kernel/panic.h> +#include <kernel/proc.h> #include <kernel/vfs/request.h> #include <shared/mem.h> static const int root_id = 100; static void accept(struct vfs_request *req); -static struct vfs_backend backend = BACKEND_KERN(accept); - void pata_init(void) { ata_init(); - vfs_mount_root_register("/ata", &backend); + vfs_root_register("/ata", accept); } |