summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe@baylibre.com>2019-11-21 08:14:42 +0000
committerDave Airlie <airlied@redhat.com>2019-12-04 13:32:45 +1000
commit0f109f0e9a608c381846b3f2270a6a7b72158cb4 (patch)
treeac706c799d99be126de46b15eac2b1ec960e7e52 /include
parent9fc785f17dec699cfe3891077e7506c92193a91b (diff)
agp: move AGPGART_MINOR to include/linux/miscdevice.h
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@baylibre.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Dave Airlie <airlied@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/1574324085-4338-3-git-send-email-clabbe@baylibre.com
Diffstat (limited to 'include')
-rw-r--r--include/linux/agpgart.h2
-rw-r--r--include/linux/miscdevice.h1
2 files changed, 1 insertions, 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 3247a3dc7934..6f2ca42152a0 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