The driver can't actually support 2^20 devices. Current RasPis GPIO pins can actually support only 1 device. Other or future platforms might support more. Signed-off-by: Shahar Avidar <ikobh7@xxxxxxxxx> --- drivers/staging/pi433/pi433_if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/pi433/pi433_if.c b/drivers/staging/pi433/pi433_if.c index a351b7acfcff..9fc93fa454b1 100644 --- a/drivers/staging/pi433/pi433_if.c +++ b/drivers/staging/pi433/pi433_if.c @@ -47,7 +47,7 @@ #include "rf69.h" #include "rf69_registers.h" -#define N_PI433_MINORS BIT(MINORBITS) /*32*/ /* ... up to 256 */ +#define N_PI433_MINORS 32 #define MAX_MSG_SIZE 900 /* min: FIFO_SIZE! */ #define MSG_FIFO_SIZE 65536 /* 65536 = 2^16 */ #define FIFO_THRESHOLD 15 /* bytes */ -- 2.34.1