Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Corentin Labbe and committed by
Dave Airlie
0f109f0e 9fc785f1

+1 -2
-2
include/linux/agpgart.h
··· 30 30 #include <linux/agp_backend.h> 31 31 #include <uapi/linux/agpgart.h> 32 32 33 - #define AGPGART_MINOR 175 34 - 35 33 struct agp_info { 36 34 struct agp_version version; /* version of the driver */ 37 35 u32 bridge_id; /* bridge vendor/device */
+1
include/linux/miscdevice.h
··· 33 33 #define SGI_MMTIMER 153 34 34 #define STORE_QUEUE_MINOR 155 /* unused */ 35 35 #define I2O_MINOR 166 36 + #define AGPGART_MINOR 175 36 37 #define HWRNG_MINOR 183 37 38 #define MICROCODE_MINOR 184 38 39 #define IRNET_MINOR 187