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;
                }
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to