summaryrefslogtreecommitdiff
path: root/sys/dev/gpio/gpiovar.h
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2006-01-14 12:33:50 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2006-01-14 12:33:50 +0000
commite16b2d8bff470be957d02471a8a2bc856d817a08 (patch)
tree4e8f65115d631bb21a17e100f4c291f640dabe6f /sys/dev/gpio/gpiovar.h
parent02a40773fc70b6a89a81f3f476dfe2fcf7bab598 (diff)
Add gpio_pin_caps() method to provide pin capabilities.
Diffstat (limited to 'sys/dev/gpio/gpiovar.h')
-rw-r--r--sys/dev/gpio/gpiovar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/gpio/gpiovar.h b/sys/dev/gpio/gpiovar.h
index 7c700088ac5..e8568fe4464 100644
--- a/sys/dev/gpio/gpiovar.h
+++ b/sys/dev/gpio/gpiovar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: gpiovar.h,v 1.2 2006/01/05 11:52:24 grange Exp $ */
+/* $OpenBSD: gpiovar.h,v 1.3 2006/01/14 12:33:49 grange Exp $ */
/*
* Copyright (c) 2004, 2006 Alexander Yurchenko <grange@openbsd.org>
@@ -73,6 +73,7 @@ void gpio_pin_unmap(void *, struct gpio_pinmap *);
int gpio_pin_read(void *, struct gpio_pinmap *, int);
void gpio_pin_write(void *, struct gpio_pinmap *, int, int);
void gpio_pin_ctl(void *, struct gpio_pinmap *, int, int);
+int gpio_pin_caps(void *, struct gpio_pinmap *, int);
int gpio_npins(u_int32_t);