mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
spidev: use DECLARE_BITMAP instead of declaring the array
[[email protected]: coding-style fixes] Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]> Cc: David Brownell <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Grant Likely <[email protected]>
This commit is contained in:
parent
965346e3b9
commit
8ae1c92480
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@
|
|||
#define SPIDEV_MAJOR 153 /* assigned */
|
||||
#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
|
||||
|
|
|
|||
Loading…
Reference in a new issue