Browse Source

Merge remote-tracking branch 'spi/topic/bpw' into spi-next

Mark Brown 12 years ago
parent
commit
8e28fb63a7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/linux/spi/spi.h

+ 1 - 1
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 */