svn commit: r344529 - head/sys/dev/flash
Ian Lepore
ian at FreeBSD.org
Mon Feb 25 18:12:00 UTC 2019
Author: ian
Date: Mon Feb 25 18:11:59 2019
New Revision: 344529
URL: https://svnweb.freebsd.org/changeset/base/344529
Log:
Fix a paste-o that broke the build on all arches.
Reported by: many
Pointy hat: ian@
Modified:
head/sys/dev/flash/at45d.c
Modified: head/sys/dev/flash/at45d.c
==============================================================================
--- head/sys/dev/flash/at45d.c Mon Feb 25 18:00:14 2019 (r344528)
+++ head/sys/dev/flash/at45d.c Mon Feb 25 18:11:59 2019 (r344529)
@@ -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;
More information about the svn-src-all
mailing list