mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 10:45:22 +00:00
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>
This commit is contained in:
committed by
ChromeOS Commit Bot
parent
62a9075435
commit
b4274d04f3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user