Commit 24c946cc authored by LABBE Corentin's avatar LABBE Corentin Committed by David S. Miller

irnet: ppp: move IRNET_MINOR to include/linux/miscdevice.h

This patch move the define for IRNET_MINOR to include/linux/miscdevice.h
It is better that all minor number definitions are in the same place.
Signed-off-by: default avatarCorentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e2928235
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#define STORE_QUEUE_MINOR 155 /* unused */ #define STORE_QUEUE_MINOR 155 /* unused */
#define I2O_MINOR 166 #define I2O_MINOR 166
#define MICROCODE_MINOR 184 #define MICROCODE_MINOR 184
#define IRNET_MINOR 187
#define VFIO_MINOR 196 #define VFIO_MINOR 196
#define TUN_MINOR 200 #define TUN_MINOR 200
#define CUSE_MINOR 203 #define CUSE_MINOR 203
......
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
/* /dev/irnet file constants */ /* /dev/irnet file constants */
#define IRNET_MAJOR 10 /* Misc range */ #define IRNET_MAJOR 10 /* Misc range */
#define IRNET_MINOR 187 /* Official allocation */
/* IrNET control channel stuff */ /* IrNET control channel stuff */
#define IRNET_MAX_COMMAND 256 /* Max length of a command line */ #define IRNET_MAX_COMMAND 256 /* Max length of a command line */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment