Date: Tue, 19 Apr 2016 23:30:22 +0000 (UTC) From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298305 - head/sys/arm/broadcom/bcm2835 Message-ID: <201604192330.u3JNUMrd090885@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604192330.u3JNUMrd090885>