Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/videomode make this compile again.



details:   https://anonhg.NetBSD.org/src/rev/ec35ed35dd5c
branches:  trunk
changeset: 763988:ec35ed35dd5c
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Apr 09 22:09:05 2011 +0000

description:
make this compile again.

diffstat:

 sys/dev/videomode/edid.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r b1cfc07e2d48 -r ec35ed35dd5c sys/dev/videomode/edid.c
--- a/sys/dev/videomode/edid.c  Sat Apr 09 21:53:58 2011 +0000
+++ b/sys/dev/videomode/edid.c  Sat Apr 09 22:09:05 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: edid.c,v 1.10 2011/04/09 20:53:39 christos Exp $ */
+/* $NetBSD: edid.c,v 1.11 2011/04/09 22:09:05 christos Exp $ */
 
 /*-
  * Copyright (c) 2006 Itronix Inc.
@@ -32,7 +32,7 @@
  */ 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: edid.c,v 1.10 2011/04/09 20:53:39 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: edid.c,v 1.11 2011/04/09 22:09:05 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -105,7 +105,7 @@
        for (n = 0; n < edid_nproducts; n++)
                if (edid_products[n].product == product &&
                    memcmp(edid_products[n].vendor, vendor, 3) == 0)
-                       return (edid_products[n].name;
+                       return edid_products[n].name;
 #endif /* EDIDVERBOSE */
        return NULL;
 
@@ -425,7 +425,7 @@
        struct videomode        mode, *exist_mode;
 
        if (EDID_BLOCK_IS_DET_TIMING(data)) {
-               if (!edid_det_timing(data, &mode)) {
+               if (!edid_det_timing(data, &mode))
                        return;
                /* Does this mode already exist? */
                exist_mode = edid_search_mode(edid, &mode);



Home | Main Index | Thread Index | Old Index