|
@@ -54,7 +54,7 @@
|
|
#define SPIDEV_MAJOR 153 /* assigned */
|
|
#define SPIDEV_MAJOR 153 /* assigned */
|
|
#define N_SPI_MINORS 32 /* ... up to 256 */
|
|
#define N_SPI_MINORS 32 /* ... up to 256 */
|
|
|
|
|
|
-static unsigned long minors[N_SPI_MINORS / BITS_PER_LONG];
|
|
|
|
|
|
+static DECLARE_BITMAP(minors, N_SPI_MINORS);
|
|
|
|
|
|
|
|
|
|
/* Bit masks for spi_device.mode management. Note that incorrect
|
|
/* Bit masks for spi_device.mode management. Note that incorrect
|