F_OSC is already defined & only used by rf69.c source file Also fix define comment Signed-off-by: Shahar Avidar <ikobh7@xxxxxxxxx> --- drivers/staging/pi433/rf69.c | 2 +- drivers/staging/pi433/rf69.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/pi433/rf69.c b/drivers/staging/pi433/rf69.c index 8c7fab6a46bb..d7e2dbe70d7c 100644 --- a/drivers/staging/pi433/rf69.c +++ b/drivers/staging/pi433/rf69.c @@ -12,7 +12,7 @@ #include "rf69.h" #include "rf69_registers.h" -#define F_OSC 32000000 /* in Hz */ +#define F_OSC 32000000 /* Hz */ #define FIFO_SIZE 66 /* in byte */ /*-------------------------------------------------------------------------*/ diff --git a/drivers/staging/pi433/rf69.h b/drivers/staging/pi433/rf69.h index 78fa0b8bab8b..52e43a909b03 100644 --- a/drivers/staging/pi433/rf69.h +++ b/drivers/staging/pi433/rf69.h @@ -12,7 +12,6 @@ #include "rf69_registers.h" /* NOTE: Modifying FREQUENCY value impacts CE certification */ -#define F_OSC 32000000 /* Hz */ #define FREQUENCY 433920000 /* Hz */ #define FIFO_SIZE 66 /* bytes */ #define FIFO_THRESHOLD 15 /* bytes */ -- 2.34.1