summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorphx <phx@NetBSD.org>2015-10-30 12:14:32 +0000
committerphx <phx@NetBSD.org>2015-10-30 12:14:32 +0000
commit42b3d39e300b00a1ef5096b25abe74ece2a9fb54 (patch)
tree3ebf222c00bf73a42b9e702dfc1042c5eb2cf7af /sys
parent16addb62d12a8b4d4950a972c1f49c21fe4aca9e (diff)
Include genfb.h for NGENFB.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/amiga/pci/p5pb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/amiga/pci/p5pb.c b/sys/arch/amiga/pci/p5pb.c
index c72da9c62d2..11a65bcda9b 100644
--- a/sys/arch/amiga/pci/p5pb.c
+++ b/sys/arch/amiga/pci/p5pb.c
@@ -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 @@ p5pb_device_register(device_t dev, void *aux)
prop_dictionary_set_uint32(dict, "depth",
P5GFX_DEPTH);
-#if (NGENFB > 0)
+#if NGENFB > 0
prop_dictionary_set_uint32(dict, "linebytes",
P5GFX_LINEBYTES);