diff options
author | LABBE Corentin <clabbe.montjoie@gmail.com> | 2016-12-15 13:42:48 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-17 19:17:24 +0300 |
commit | 24c946cc5d35e32c5bb0c07ebdad32756e2bd20d (patch) | |
tree | 45165ceeda32499a1ef0d033fc974839473d893b | |
parent | e292823559709b09cd9bf7bd112bd13c93daa146 (diff) | |
download | linux-24c946cc5d35e32c5bb0c07ebdad32756e2bd20d.tar.xz |
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: Corentin Labbe <clabbe.montjoie@gmail.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/linux/miscdevice.h | 1 | ||||
-rw-r--r-- | net/irda/irnet/irnet_ppp.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index 722698a43d79..86d5704c9e23 100644 --- a/include/linux/miscdevice.h +++ b/include/linux/miscdevice.h @@ -32,6 +32,7 @@ #define STORE_QUEUE_MINOR 155 /* unused */ #define I2O_MINOR 166 #define MICROCODE_MINOR 184 +#define IRNET_MINOR 187 #define VFIO_MINOR 196 #define TUN_MINOR 200 #define CUSE_MINOR 203 diff --git a/net/irda/irnet/irnet_ppp.h b/net/irda/irnet/irnet_ppp.h index 693ebc08fa2e..18fceadbb4bf 100644 --- a/net/irda/irnet/irnet_ppp.h +++ b/net/irda/irnet/irnet_ppp.h @@ -21,7 +21,6 @@ /* /dev/irnet file constants */ #define IRNET_MAJOR 10 /* Misc range */ -#define IRNET_MINOR 187 /* Official allocation */ /* IrNET control channel stuff */ #define IRNET_MAX_COMMAND 256 /* Max length of a command line */ |