Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/omap The variable gpio_module[] into #ifdef TI_...
details: https://anonhg.NetBSD.org/src/rev/45dd8f4d1f11
branches: trunk
changeset: 348428:45dd8f4d1f11
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Tue Oct 18 14:08:53 2016 +0000
description:
The variable gpio_module[] into #ifdef TI_AM335X - #endif.
Thanks for joerg@.
diffstat:
sys/arch/arm/omap/omap2_gpio.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (33 lines):
diff -r d33e6376a610 -r 45dd8f4d1f11 sys/arch/arm/omap/omap2_gpio.c
--- a/sys/arch/arm/omap/omap2_gpio.c Tue Oct 18 14:02:48 2016 +0000
+++ b/sys/arch/arm/omap/omap2_gpio.c Tue Oct 18 14:08:53 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: omap2_gpio.c,v 1.20 2016/10/18 14:02:48 kiyohara Exp $ */
+/* $NetBSD: omap2_gpio.c,v 1.21 2016/10/18 14:08:53 kiyohara Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -28,7 +28,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: omap2_gpio.c,v 1.20 2016/10/18 14:02:48 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: omap2_gpio.c,v 1.21 2016/10/18 14:08:53 kiyohara Exp $");
#define _INTR_PRIVATE
@@ -64,12 +64,14 @@
#include <dev/gpio/gpiovar.h>
#endif
+#ifdef TI_AM335X
static const struct omap_module gpio_module[] = {
{ 0, 0 },
{ AM335X_PRCM_CM_PER, CM_PER_GPIO1_CLKCTRL },
{ AM335X_PRCM_CM_PER, CM_PER_GPIO2_CLKCTRL },
{ AM335X_PRCM_CM_PER, CM_PER_GPIO3_CLKCTRL },
};
+#endif
static void gpio_pic_block_irqs(struct pic_softc *, size_t, uint32_t);
static void gpio_pic_block_irqs2(struct pic_softc *, size_t, uint32_t);
Home |
Main Index |
Thread Index |
Old Index