mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
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>
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