Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/samsung Add exynos_gpio_pindata_ctl() analog to...
details: https://anonhg.NetBSD.org/src/rev/582e0bf3217e
branches: trunk
changeset: 795893:582e0bf3217e
user: reinoud <reinoud%NetBSD.org@localhost>
date: Sat May 10 10:46:25 2014 +0000
description:
Add exynos_gpio_pindata_ctl() analog to _pindata__read() and _pindata_write()
diffstat:
sys/arch/arm/samsung/exynos_var.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 554a3c05dbcf -r 582e0bf3217e sys/arch/arm/samsung/exynos_var.h
--- a/sys/arch/arm/samsung/exynos_var.h Sat May 10 09:39:18 2014 +0000
+++ b/sys/arch/arm/samsung/exynos_var.h Sat May 10 10:46:25 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exynos_var.h,v 1.5 2014/05/09 21:49:43 reinoud Exp $ */
+/* $NetBSD: exynos_var.h,v 1.6 2014/05/10 10:46:25 reinoud Exp $ */
/*-
* Copyright (c) 2013, 2014 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -138,6 +138,12 @@
return gpiobus_pin_read(pd->pd_gc, pd->pd_pin);
}
+static inline int
+exynos_gpio_pindata_ctl(const struct exynos_gpio_pindata *pd, int flags)
+{
+ gpiobus_pin_ctl(pd->pd_gc, pd->pd_pin, flags);
+}
+
#ifdef ARM_TRUSTZONE_FIRMWARE
/* trustzone calls */
Home |
Main Index |
Thread Index |
Old Index