Skip to contentSkip to conversation

sbus: char: Move D7S_MINOR to include/linux/miscdevice.h

PATCH Applied Corentin Labbe 2 participants 2 messages Sep 18, 2017 – Sep 28, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sbus: char: Move D7S_MINOR to include/linux/miscdevice.h

This patch move the define for D7S_MINOR to include/linux/miscdevice.h. It's better that all minor number are in the same place.

---
 drivers/sbus/char/display7seg.c | 1 -
 include/linux/miscdevice.h      | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
drivers/sbus/char/display7seg.c +0 -1
index f32765d3cbd8..5c8ed7350a04 100644
@@ -22,7 +22,6 @@
 
 #include <asm/display7seg.h>
 
-#define D7S_MINOR	193
 #define DRIVER_NAME	"d7s"
 #define PFX		DRIVER_NAME ": "
 
include/linux/miscdevice.h +1 -0
index 58751eae5f77..05c3892b3e92 100644
@@ -35,6 +35,7 @@
 #define HWRNG_MINOR		183
 #define MICROCODE_MINOR		184
 #define IRNET_MINOR		187
+#define D7S_MINOR		193
 #define VFIO_MINOR		196
 #define TUN_MINOR		200
 #define CUSE_MINOR		203
Signature · 1 line
2.13.5