Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2933334ybc; Thu, 21 Nov 2019 00:17:37 -0800 (PST) X-Google-Smtp-Source: APXvYqwfUw+zcznY/5T2sxEjQjzN2P5st3vmxEB4TVCozlv+1LY/34kesMk+wXWAN15PuNg3LyNL X-Received: by 2002:a17:906:cb93:: with SMTP id mf19mr12003401ejb.87.1574324257245; Thu, 21 Nov 2019 00:17:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574324257; cv=none; d=google.com; s=arc-20160816; b=hVTfntujMu50kKtEukHQL6Q3OahI5wKBDlEn4FIT+rFbj5yHBakcEzV5laQyW1hEps b8EoJ53vqZHYXZxBcJUB/V+QVeJEIfvkdHJv49T6Ln6C7ckMRnW2I7yGPlrHyOcAHUac I1CZXk4L7jKlJssO4MmD97B2NNSRCxzKx/O/zoWyvdqGnabMUYRtVdaghu2ny2/GzDhj M5AWlRKHGCFw5U2I/DRqix/leORUC1+8bjWKeUBxCcLi8eL0C4uNWd/68MrSc+bm7XKf V+yUMyh1NWSxZv+lK98FdbpZ1wLlpTIN0W3YDcU4VUNqdh1r5DdsV4TRdFW+/Ai755SW KcUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=8LjJcUv5JRc8/4Vw05C03H9zEwwInU8us44q9tvp9r0=; b=M3NSBGQ8xy6VT1ktfpTNKWlxmL5HkfPoPjcy0ijz0fn2qAh8EpOTgtwH8F5ykIgNY1 8XqCFUNLD1qsctTXKHMKaFm9uxN2aKKZ/Askc49EkY1W4b5W4NtYxsJ29+vjcLmarv8o pM/OX9FnfYY+o5tO84igpA6fakAaGgcLi61uLOzg4IaPhiSCZDrrOTJkI/G/NRfkIwA4 xQCyz09OOHqOoYggBIqOTyIXnYJWzGLntvzjxTesuUepIEwWZBvaXXNLUI/gCXZYLXXg R4itlbM75wRegMrTN0Knagn8JkgXh/GwxBf+L9OZQJhKtFA+QFuO43ynzt0JFqPJ3CJV yJnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=lDQLQkLF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v11si1768284edc.410.2019.11.21.00.17.12; Thu, 21 Nov 2019 00:17:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=lDQLQkLF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727109AbfKUIPW (ORCPT + 99 others); Thu, 21 Nov 2019 03:15:22 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:36198 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726961AbfKUIPH (ORCPT ); Thu, 21 Nov 2019 03:15:07 -0500 Received: by mail-wr1-f67.google.com with SMTP id z3so3206592wru.3 for ; Thu, 21 Nov 2019 00:15:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8LjJcUv5JRc8/4Vw05C03H9zEwwInU8us44q9tvp9r0=; b=lDQLQkLFnXHou+oCKFJriVm046psHa6PF4fvQ88rVy8xkKbVud6HDaf5BbBKWorYaG 9JqhW4wsHV9WyzfjpMwcieA03kIJrYrmsTs2TKpgRF/0ze1l+yFLtdaMn6lM/x0/ZMcZ gN8VuphDjfs3yZHIQwGImS367kLOMoEvagMJ3vCF1mTPU29ATxQQQFaVSpUjQyfM49/w JWLGU+VUMdyGfRPnSWuMRWG/JiXnCIV5MpgvVOC5m7yzqS1zN7+PxiWfcCju2TKbwpT/ d/F0AewpDtoCFSsHP1OuXvyMybR3YNTJVEpu/eUr3JCiknF3mZmcCWfs0gzNucjdCHqz DVYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8LjJcUv5JRc8/4Vw05C03H9zEwwInU8us44q9tvp9r0=; b=BqzXzzPAzwnYwuOvdg6GT9u/OwPiV4oqPnc8454YXhm99eJq/4DqHODMpe67vTA399 37JdQe4vc9v0J23TqSbqjY3lAYT6LTT4eMLk9vACwSmilETI65QWjrHkRByovDytlor5 FcFP2SN3T19RoBK6GQLzRZetLZf+wwt0VnIQ2JcGrPm3k6C9L5OB8gFp6T4fOMhJ+N2y ucT3afEzXDY/1EJj3CNn1vzaGy+/uOoe70DQMdTU0yh3K85IA1fdeAuLpdy4b2rWNGFv wgKtJ7d5NdhK4aZuRM73jjAeZZlnsvB+iUOVjintZrqJg/Mz85GgQNaSk/H5U6QXL7Qf OpdQ== X-Gm-Message-State: APjAAAU1Tzz8yZhVE7LPVKEqp4K+hO/uQPDMkK24xoPokgnO+QDXAlrn lWA2l4F/ZWUVDk3uZ3pFrdZ5FQ== X-Received: by 2002:a5d:53c1:: with SMTP id a1mr489050wrw.373.1574324105155; Thu, 21 Nov 2019 00:15:05 -0800 (PST) Received: from localhost.localdomain ([51.15.160.169]) by smtp.googlemail.com with ESMTPSA id w13sm2315075wrm.8.2019.11.21.00.15.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Nov 2019 00:15:04 -0800 (PST) From: Corentin Labbe To: airlied@redhat.com, airlied@linux.ie, arnd@arndb.de, fenghua.yu@intel.com, gregkh@linuxfoundation.org, tony.luck@intel.com Cc: linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, Corentin Labbe Subject: [PATCH v2 2/5] agp: move AGPGART_MINOR to include/linux/miscdevice.h Date: Thu, 21 Nov 2019 08:14:42 +0000 Message-Id: <1574324085-4338-3-git-send-email-clabbe@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1574324085-4338-1-git-send-email-clabbe@baylibre.com> References: <1574324085-4338-1-git-send-email-clabbe@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 b06b75776a32..becde6981a95 100644 --- a/include/linux/miscdevice.h +++ b/include/linux/miscdevice.h @@ -33,6 +33,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.23.0