diff options
author | Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> | 2009-12-14 17:20:23 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2009-12-17 10:39:12 -0500 |
commit | 8ae1c9248042c5122f9628282f41c363c9610dd7 (patch) | |
tree | 03c086fda38b02f0e19d133fe0a0f7a316a51438 /drivers/spi | |
parent | 965346e3b99e2c5f51bd1325ddd0257227000355 (diff) |
spidev: use DECLARE_BITMAP instead of declaring the array
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spidev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index f8279e783617..cb7147e0a573 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c | |||
@@ -54,7 +54,7 @@ | |||
54 | #define SPIDEV_MAJOR 153 /* assigned */ | 54 | #define SPIDEV_MAJOR 153 /* assigned */ |
55 | #define N_SPI_MINORS 32 /* ... up to 256 */ | 55 | #define N_SPI_MINORS 32 /* ... up to 256 */ |
56 | 56 | ||
57 | static unsigned long minors[N_SPI_MINORS / BITS_PER_LONG]; | 57 | static DECLARE_BITMAP(minors, N_SPI_MINORS); |
58 | 58 | ||
59 | 59 | ||
60 | /* Bit masks for spi_device.mode management. Note that incorrect | 60 | /* Bit masks for spi_device.mode management. Note that incorrect |