Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/booke/dev Fix a few compile problems on non...
details: https://anonhg.NetBSD.org/src/rev/2ee0cacaba3a
branches: trunk
changeset: 779326:2ee0cacaba3a
user: matt <matt%NetBSD.org@localhost>
date: Sat May 19 00:11:46 2012 +0000
description:
Fix a few compile problems on non-P2020 platforms.
diffstat:
sys/arch/powerpc/booke/dev/pq3gpio.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 82434ed5a641 -r 2ee0cacaba3a sys/arch/powerpc/booke/dev/pq3gpio.c
--- a/sys/arch/powerpc/booke/dev/pq3gpio.c Sat May 19 00:02:44 2012 +0000
+++ b/sys/arch/powerpc/booke/dev/pq3gpio.c Sat May 19 00:11:46 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pq3gpio.c,v 1.6 2012/05/17 16:24:09 matt Exp $ */
+/* $NetBSD: pq3gpio.c,v 1.7 2012/05/19 00:11:46 matt Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -41,7 +41,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pq3gpio.c,v 1.6 2012/05/17 16:24:09 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pq3gpio.c,v 1.7 2012/05/19 00:11:46 matt Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
@@ -163,7 +163,7 @@
#endif
gc->gc_tag.gp_pin_read = pq3gpio_pin_read;
gc->gc_tag.gp_pin_write = pq3gpio_pin_write;
- gc->gc_tag.gp_pin_ctl = pq3gpio_pin_ctl;
+ gc->gc_tag.gp_pin_ctl = pin_ctl;
u_int data = bus_space_read_4(gc->gc_bst, gc->gc_bsh, reg);
u_int mask = __BIT(31);
@@ -227,7 +227,7 @@
* Create GPIO pin groups
*/
aprint_normal_dev(self, "%zu input/output/opendrain pins\n",
- pincnt, pincnt);
+ pincnt);
pq3gpio_group_create(self, bst, bsh, GPDAT, pinmask,
GPIO_PIN_INPUT | GPIO_PIN_OUTPUT | GPIO_PIN_OPENDRAIN,
pq3gpio_pin_ctl);
Home |
Main Index |
Thread Index |
Old Index