diff options
author | Marc Balmer <mbalmer@cvs.openbsd.org> | 2008-11-24 12:18:46 +0000 |
---|---|---|
committer | Marc Balmer <mbalmer@cvs.openbsd.org> | 2008-11-24 12:18:46 +0000 |
commit | 9cd193e0bfe88b63dacfd2d7d67ef123d8a5f3d8 (patch) | |
tree | 71ef316f6540e4aa1c3c5d29f54a40b418de2064 | |
parent | b4ed2f28ea065bc5bcbe1d53040fb5279aeb61c8 (diff) |
The mask is actually u_int32_t, not int.
-rw-r--r-- | sys/sys/gpio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/gpio.h b/sys/sys/gpio.h index b4eeb7617f4..efb107bf3b3 100644 --- a/sys/sys/gpio.h +++ b/sys/sys/gpio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: gpio.h,v 1.4 2008/11/24 12:12:12 mbalmer Exp $ */ +/* $OpenBSD: gpio.h,v 1.5 2008/11/24 12:18:45 mbalmer Exp $ */ /* * Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org> * @@ -56,7 +56,7 @@ struct gpio_pin_ctl { struct gpio_attach { char ga_dvname[16]; /* device name */ int ga_offset; - int ga_mask; + u_int32_t ga_mask; }; #define GPIOINFO _IOR('G', 0, struct gpio_info) |