Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amiga/pci Include genfb.h for NGENFB.



details:   https://anonhg.NetBSD.org/src/rev/a7246fb42012
branches:  trunk
changeset: 341302:a7246fb42012
user:      phx <phx%NetBSD.org@localhost>
date:      Fri Oct 30 12:14:32 2015 +0000

description:
Include genfb.h for NGENFB.

diffstat:

 sys/arch/amiga/pci/p5pb.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r ede7c2301126 -r a7246fb42012 sys/arch/amiga/pci/p5pb.c
--- a/sys/arch/amiga/pci/p5pb.c Fri Oct 30 07:44:52 2015 +0000
+++ b/sys/arch/amiga/pci/p5pb.c Fri Oct 30 12:14:32 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: p5pb.c,v 1.14 2015/10/02 05:22:49 msaitoh Exp $ */
+/*     $NetBSD: p5pb.c,v 1.15 2015/10/30 12:14:32 phx Exp $ */
 
 /*-
  * Copyright (c) 2011, 2012 The NetBSD Foundation, Inc.
@@ -61,6 +61,7 @@
 
 #include "opt_p5pb.h"
 #include "opt_pci.h"
+#include "genfb.h"
 
 /* Initial CVPPC/BVPPC resolution as configured by the firmware */
 #define P5GFX_WIDTH            640
@@ -692,7 +693,7 @@
                                prop_dictionary_set_uint32(dict, "depth",
                                    P5GFX_DEPTH);
 
-#if (NGENFB > 0)
+#if NGENFB > 0
                                prop_dictionary_set_uint32(dict, "linebytes",
                                    P5GFX_LINEBYTES);
 



Home | Main Index | Thread Index | Old Index