Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935461AbcLOLCz (ORCPT ); Thu, 15 Dec 2016 06:02:55 -0500 Received: from mail-wj0-f194.google.com ([209.85.210.194]:33465 "EHLO mail-wj0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932591AbcLOLCw (ORCPT ); Thu, 15 Dec 2016 06:02:52 -0500 From: Corentin Labbe To: arnd@arndb.de, gregkh@linuxfoundation.org, samuel@sortiz.org, davem@davemloft.net Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Corentin Labbe Subject: [PATCH 3/5] irnet: ppp: move IRNET_MINOR to include/linux/miscdevice.h Date: Thu, 15 Dec 2016 11:42:48 +0100 Message-Id: <20161215104250.16813-3-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161215104250.16813-1-clabbe.montjoie@gmail.com> References: <20161215104250.16813-1-clabbe.montjoie@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1112 Lines: 35 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 --- include/linux/miscdevice.h | 1 + net/irda/irnet/irnet_ppp.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index 18b2e3b..5ea0a65 100644 --- a/include/linux/miscdevice.h +++ b/include/linux/miscdevice.h @@ -37,6 +37,7 @@ #define HWRNG_MINOR 183 #define MICROCODE_MINOR 184 #define KEYPAD_MINOR 185 +#define IRNET_MINOR 187 #define D7S_MINOR 193 #define VFIO_MINOR 196 #define TUN_MINOR 200 diff --git a/net/irda/irnet/irnet_ppp.h b/net/irda/irnet/irnet_ppp.h index 693ebc0..18fcead 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 */ -- 2.10.2