Fix a paste-o that broke the build on all arches.
Reported by: many Pointy hat: ian@
This commit is contained in:
parent
10e5aeb6eb
commit
22e5a596e4
@ -345,7 +345,7 @@ at45d_delayed_attach(void *xsc)
|
|||||||
sc->disk->d_mediasize = pagesize * ident->pagecount;
|
sc->disk->d_mediasize = pagesize * ident->pagecount;
|
||||||
sc->disk->d_unit = device_get_unit(sc->dev);
|
sc->disk->d_unit = device_get_unit(sc->dev);
|
||||||
disk_create(sc->disk, DISK_VERSION);
|
disk_create(sc->disk, DISK_VERSION);
|
||||||
disk_add_alias(sc->sc_disk, "flash/spi");
|
disk_add_alias(sc->disk, "flash/spi");
|
||||||
bioq_init(&sc->bio_queue);
|
bioq_init(&sc->bio_queue);
|
||||||
kproc_create(&at45d_task, sc, &sc->p, 0, 0, "task: at45d flash");
|
kproc_create(&at45d_task, sc, &sc->p, 0, 0, "task: at45d flash");
|
||||||
sc->taskstate = TSTATE_RUNNING;
|
sc->taskstate = TSTATE_RUNNING;
|
||||||
|
Loading…
Reference in New Issue
Block a user