Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2016 11:31:53 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r308726 - head/sys/arm/broadcom/bcm2835
Message-ID:  <201611161131.uAGBVraQ009597@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Wed Nov 16 11:31:53 2016
New Revision: 308726
URL: https://svnweb.freebsd.org/changeset/base/308726

Log:
  Use the correct OF_getencprop to get the height.
  
  Reported by:	jmcneill
  Sponsored by:	ABT Systems Ltd

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	Wed Nov 16 09:25:00 2016	(r308725)
+++ head/sys/arm/broadcom/bcm2835/bcm2835_fb.c	Wed Nov 16 11:31:53 2016	(r308726)
@@ -479,7 +479,7 @@ bcmfb_configure(int flags)
 		}
 
 		if (sc->height == 0) {
-			if ((OF_getprop(display, "broadcom,height", 
+			if ((OF_getencprop(display, "broadcom,height", 
 			    &cell, sizeof(cell))) > 0)
 				sc->height = cell;
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611161131.uAGBVraQ009597>