Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752007AbdIAMQB (ORCPT ); Fri, 1 Sep 2017 08:16:01 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:36374 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751923AbdIAMP7 (ORCPT ); Fri, 1 Sep 2017 08:15:59 -0400 X-Google-Smtp-Source: ADKCNb4DbEsZ7kMbPZnuz4N4XYI3c0JEkqaBXO/HfJ+/HdtOL2CXHDJyIjgMQceIBy76xS47zxNgGQ== From: Corentin Labbe To: airlied@linux.ie, arnd@arndb.de, gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, Corentin Labbe Subject: [PATCH 1/3] agp: move AGPGART_MINOR to include/linux/miscdevice.h Date: Fri, 1 Sep 2017 14:13:30 +0200 Message-Id: <20170901121332.7219-2-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170901121332.7219-1-clabbe.montjoie@gmail.com> References: <20170901121332.7219-1-clabbe.montjoie@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1150 Lines: 36 This patch move the define for AGPGART_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/agpgart.h | 2 -- include/linux/miscdevice.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/linux/agpgart.h b/include/linux/agpgart.h index c6b61ca97053..21b34a96cfd8 100644 --- a/include/linux/agpgart.h +++ b/include/linux/agpgart.h @@ -30,8 +30,6 @@ #include #include -#define AGPGART_MINOR 175 - struct agp_info { struct agp_version version; /* version of the driver */ u32 bridge_id; /* bridge vendor/device */ diff --git a/include/linux/miscdevice.h b/include/linux/miscdevice.h index 05c3892b3e92..c6936d1546bd 100644 --- a/include/linux/miscdevice.h +++ b/include/linux/miscdevice.h @@ -32,6 +32,7 @@ #define SGI_MMTIMER 153 #define STORE_QUEUE_MINOR 155 /* unused */ #define I2O_MINOR 166 +#define AGPGART_MINOR 175 #define HWRNG_MINOR 183 #define MICROCODE_MINOR 184 #define IRNET_MINOR 187 -- 2.13.5