Module Name:    src
Committed By:   reinoud
Date:           Sat May 10 10:46:25 UTC 2014

Modified Files:
        src/sys/arch/arm/samsung: exynos_var.h

Log Message:
Add exynos_gpio_pindata_ctl() analog to _pindata__read() and _pindata_write()


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/arm/samsung/exynos_var.h

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/samsung/exynos_var.h
diff -u src/sys/arch/arm/samsung/exynos_var.h:1.5 src/sys/arch/arm/samsung/exynos_var.h:1.6
--- src/sys/arch/arm/samsung/exynos_var.h:1.5	Fri May  9 21:49:43 2014
+++ src/sys/arch/arm/samsung/exynos_var.h	Sat May 10 10:46:25 2014
@@ -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 @@ exynos_gpio_pindata_read(const struct ex
         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 */

Reply via email to