Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1725005 > unrolled thread

[PATCH 1/3] agp: move AGPGART_MINOR to include/linux/miscdevice.h

Started byCorentin Labbe <clabbe.montjoie@gmail.com>
First post2017-09-01 14:20 +0200
Last post2017-09-01 14:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 1/3] agp: move AGPGART_MINOR to include/linux/miscdevice.h Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-09-01 14:20 +0200

#1725005 — [PATCH 1/3] agp: move AGPGART_MINOR to include/linux/miscdevice.h

FromCorentin Labbe <clabbe.montjoie@gmail.com>
Date2017-09-01 14:20 +0200
Subject[PATCH 1/3] agp: move AGPGART_MINOR to include/linux/miscdevice.h
Message-ID<ukT5v-4mh-5@gated-at.bofh.it>
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 <clabbe.montjoie@gmail.com>
---
 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 <linux/agp_backend.h>
 #include <uapi/linux/agpgart.h>
 
-#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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web