svn commit: r298305 - head/sys/arm/broadcom/bcm2835
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Tue Apr 19 23:30:24 UTC 2016
Author: gonzo
Date: Tue Apr 19 23:30:22 2016
New Revision: 298305
URL: https://svnweb.freebsd.org/changeset/base/298305
Log:
Fix build for Pi kernels with syscons enabled
Modified:
head/sys/arm/broadcom/bcm2835/bcm2835_fb.c
Modified: head/sys/arm/broadcom/bcm2835/bcm2835_fb.c
==============================================================================
--- head/sys/arm/broadcom/bcm2835/bcm2835_fb.c Tue Apr 19 23:15:47 2016 (r298304)
+++ head/sys/arm/broadcom/bcm2835/bcm2835_fb.c Tue Apr 19 23:30:22 2016 (r298305)
@@ -146,10 +146,10 @@ bcm_fb_attach(device_t dev)
sc = device_get_softc(dev);
memset(&fb, 0, sizeof(fb));
- if (bcm2835_mbox_fb_get_w_h(dev, &fb) != 0)
+ if (bcm2835_mbox_fb_get_w_h(&fb) != 0)
return (ENXIO);
fb.bpp = FB_DEPTH;
- if (bcm2835_mbox_fb_init(dev, &fb) != 0)
+ if (bcm2835_mbox_fb_init(&fb) != 0)
return (ENXIO);
sc->fb_addr = (intptr_t)pmap_mapdev(fb.base, fb.size);
More information about the svn-src-all
mailing list