From 0e35dff59620afdfa05377b32781fe79616ef0d0 Mon Sep 17 00:00:00 2001 From: he Date: Mon, 3 Aug 2009 06:57:09 +0000 Subject: [PATCH] Move the include of up above , so that GPIOMAXNAME gets defined before being used. Also remove the > 0 test on NGPIO around the include of . --- sys/arch/arm/ep93xx/epgpio.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sys/arch/arm/ep93xx/epgpio.c b/sys/arch/arm/ep93xx/epgpio.c index 1568f4f6afee..1a19c3ee9deb 100644 --- a/sys/arch/arm/ep93xx/epgpio.c +++ b/sys/arch/arm/ep93xx/epgpio.c @@ -1,4 +1,4 @@ -/* $NetBSD: epgpio.c,v 1.2 2009/02/27 03:13:55 kenh Exp $ */ +/* $NetBSD: epgpio.c,v 1.3 2009/08/03 06:57:09 he Exp $ */ /* * Copyright (c) 2005 HAMAJIMA Katsuomi. All rights reserved. @@ -26,7 +26,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: epgpio.c,v 1.2 2009/02/27 03:13:55 kenh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: epgpio.c,v 1.3 2009/08/03 06:57:09 he Exp $"); #include #include @@ -34,6 +34,7 @@ __KERNEL_RCSID(0, "$NetBSD: epgpio.c,v 1.2 2009/02/27 03:13:55 kenh Exp $"); #include #include #include +#include #include #include #include @@ -41,9 +42,6 @@ __KERNEL_RCSID(0, "$NetBSD: epgpio.c,v 1.2 2009/02/27 03:13:55 kenh Exp $"); #include #include "opt_ep93xx_gpio_mask.h" #include "gpio.h" -#if NGPIO > 0 -#include -#endif #include "locators.h" #ifdef EPGPIO_DEBUG