diff options
author | Bill Richardson <wfrichar@chromium.org> | 2015-02-11 16:33:07 -0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-02-20 02:59:57 +0000 |
commit | b4274d04f318fbc08ea6688d67ff900bc2fccf52 (patch) | |
tree | 9a0583bfb9a3537ead6b77d00d1ff3330d9edf51 /include | |
parent | 62a9075435a02ce299076c928a7d6f70dff5f044 (diff) | |
download | chrome-ec-b4274d04f318fbc08ea6688d67ff900bc2fccf52.tar.gz |
cleanup: bitmasks should be unsigned values
Change the struct gpio_info to use uint32_t for the mask field,
instead of signed integer.
BUG=none
BRANCH=none
TEST=make buildall
Change-Id: I8cc7e3d06a00bd3c890522a896e36e1eb18a862e
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/251013
Reviewed-by: Sheng-liang Song <ssl@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/gpio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpio.h b/include/gpio.h index efb73f7cb9..96404a94de 100644 --- a/include/gpio.h +++ b/include/gpio.h @@ -54,7 +54,7 @@ struct gpio_info { uint32_t port; /* Bitmask on that port (1 << N; 0 = signal not implemented) */ - int mask; + uint32_t mask; /* Flags (GPIO_*; see above) */ uint32_t flags; |