diff options
Diffstat (limited to 'drivers/spi/spidev.c')
-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 |