diff options
author | Mark Brown <broonie@linaro.org> | 2013-09-01 16:48:46 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-01 16:48:46 +0400 |
commit | 8e28fb63a7dfd55085b42e0acb5d9d0d2911ecbd (patch) | |
tree | 2a7474ddb922494e36127a1fc2face0fe0c038b5 /include/linux/spi | |
parent | f1632c32780ade0da111785e5db26c48465e8afc (diff) | |
parent | b6aa23ccaea1548cfb404b41129717f13443bccf (diff) | |
download | linux-8e28fb63a7dfd55085b42e0acb5d9d0d2911ecbd.tar.xz |
Merge remote-tracking branch 'spi/topic/bpw' into spi-next
Diffstat (limited to 'include/linux/spi')
-rw-r--r-- | include/linux/spi/spi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index 28e440be1c07..c920c2f4dad5 100644 --- a/include/linux/spi/spi.h +++ b/include/linux/spi/spi.h @@ -309,7 +309,7 @@ struct spi_master { /* bitmask of supported bits_per_word for transfers */ u32 bits_per_word_mask; #define SPI_BPW_MASK(bits) BIT((bits) - 1) -#define SPI_BIT_MASK(bits) (((bits) == 32) ? ~0UL : (BIT(bits) - 1)) +#define SPI_BIT_MASK(bits) (((bits) == 32) ? ~0U : (BIT(bits) - 1)) #define SPI_BPW_RANGE_MASK(min, max) (SPI_BIT_MASK(max) - SPI_BIT_MASK(min - 1)) /* other constraints relevant to this driver */ |