diff options
| author | Ian Lepore <ian@FreeBSD.org> | 2019-02-25 18:11:59 +0000 |
|---|---|---|
| committer | Ian Lepore <ian@FreeBSD.org> | 2019-02-25 18:11:59 +0000 |
| commit | dec1d3370d16f42fc7382af6d365e931b73a7521 (patch) | |
| tree | c29ff54a4747210c611ceab37695cbb0354f01a5 /sys/dev/flash | |
| parent | f4f53f2b4dd3cf39ab43621adb2c73acfdad3ae4 (diff) | |
Notes
Diffstat (limited to 'sys/dev/flash')
| -rw-r--r-- | sys/dev/flash/at45d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/flash/at45d.c b/sys/dev/flash/at45d.c index 92923164b134..8a948dc4e189 100644 --- a/sys/dev/flash/at45d.c +++ b/sys/dev/flash/at45d.c @@ -345,7 +345,7 @@ at45d_delayed_attach(void *xsc) sc->disk->d_mediasize = pagesize * ident->pagecount; sc->disk->d_unit = device_get_unit(sc->dev); 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); kproc_create(&at45d_task, sc, &sc->p, 0, 0, "task: at45d flash"); sc->taskstate = TSTATE_RUNNING; |
