Module Name:    src
Committed By:   matt
Date:           Wed Mar 26 23:43:45 UTC 2014

Modified Files:
        src/sys/arch/arm/broadcom [matt-nb5-mips64]: bcm53xx_cca.c

Log Message:
Only 5301X has GPIO via CCA


To generate a diff of this commit:
cvs rdiff -u -r1.1.16.3 -r1.1.16.4 src/sys/arch/arm/broadcom/bcm53xx_cca.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/arm/broadcom/bcm53xx_cca.c
diff -u src/sys/arch/arm/broadcom/bcm53xx_cca.c:1.1.16.3 src/sys/arch/arm/broadcom/bcm53xx_cca.c:1.1.16.4
--- src/sys/arch/arm/broadcom/bcm53xx_cca.c:1.1.16.3	Wed Mar 26 02:02:29 2014
+++ src/sys/arch/arm/broadcom/bcm53xx_cca.c	Wed Mar 26 23:43:45 2014
@@ -43,7 +43,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: bcm53xx_cca.c,v 1.1.16.3 2014/03/26 02:02:29 matt Exp $");
+__KERNEL_RCSID(1, "$NetBSD: bcm53xx_cca.c,v 1.1.16.4 2014/03/26 23:43:45 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -177,7 +177,7 @@ bcmcca_mainbus_attach(device_t parent, d
 	aprint_normal_dev(sc->sc_dev, "interrupting at irq %d\n", IRQ_CCA);
 
 	bcmcca_uart_attach(sc);
-#if NGPIO > 0
+#if NGPIO > 0 && defined(BCM5301X)
 	bcmcca_gpio_attach(sc);
 #endif
 }

Reply via email to