Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci fix debug build



details:   https://anonhg.NetBSD.org/src/rev/d4944020d0a7
branches:  trunk
changeset: 771532:d4944020d0a7
user:      macallan <macallan%NetBSD.org@localhost>
date:      Thu Nov 24 05:57:17 2011 +0000

description:
fix debug build

diffstat:

 sys/dev/pci/pm2fb.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e80e0374dfde -r d4944020d0a7 sys/dev/pci/pm2fb.c
--- a/sys/dev/pci/pm2fb.c       Thu Nov 24 05:53:05 2011 +0000
+++ b/sys/dev/pci/pm2fb.c       Thu Nov 24 05:57:17 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pm2fb.c,v 1.9 2011/11/24 05:53:05 macallan Exp $       */
+/*     $NetBSD: pm2fb.c,v 1.10 2011/11/24 05:57:17 macallan Exp $      */
 
 /*
  * Copyright (c) 2009 Michael Lorenz
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pm2fb.c,v 1.9 2011/11/24 05:53:05 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pm2fb.c,v 1.10 2011/11/24 05:57:17 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -926,7 +926,7 @@
        while (sc->sc_edid_data[1] == 0 && i++ < 3)
                ddc_read_edid(&sc->sc_i2c, sc->sc_edid_data, 128);
 #ifdef PM2FB_DEBUG
-       if (edid_parse(&edid_data[0], &ei) != -1) {
+       if (edid_parse(&sc->sc_edid_data[0], &ei) != -1) {
                edid_print(&ei);
        }
 #endif



Home | Main Index | Thread Index | Old Index