summaryrefslogtreecommitdiff
path: root/sys/dev/flash/at45d.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/flash/at45d.c')
-rw-r--r--sys/dev/flash/at45d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/flash/at45d.c b/sys/dev/flash/at45d.c
index e9536e3a68b4..13e26bcac5ac 100644
--- a/sys/dev/flash/at45d.c
+++ b/sys/dev/flash/at45d.c
@@ -181,7 +181,7 @@ at45d_delayed_attach(void *xsc)
sc->disk->d_unit = device_get_unit(sc->dev);
disk_create(sc->disk, DISK_VERSION);
bioq_init(&sc->bio_queue);
- kthread_create(&at45d_task, sc, &sc->p, 0, 0, "task: at45d flash");
+ kproc_create(&at45d_task, sc, &sc->p, 0, 0, "task: at45d flash");
config_intrhook_disestablish(&sc->config_intrhook);
}