* [PATCH] agp: move AGPGART_MINOR to include/linux/miscdevice.h
@ 2016-12-15 19:39 Corentin Labbe
2017-01-10 17:37 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Corentin Labbe @ 2016-12-15 19:39 UTC (permalink / raw)
To: airlied, arnd, gregkh; +Cc: linux-kernel, Corentin Labbe
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 c6b61ca..21b34a9 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 7efc045..057b8ae 100644
--- a/include/linux/miscdevice.h
+++ b/include/linux/miscdevice.h
@@ -32,6 +32,7 @@
#define STORE_QUEUE_MINOR 155 /* unused */
#define LCD_MINOR 156
#define I2O_MINOR 166
+#define AGPGART_MINOR 175
#define HWRNG_MINOR 183
#define MICROCODE_MINOR 184
#define KEYPAD_MINOR 185
--
2.10.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] agp: move AGPGART_MINOR to include/linux/miscdevice.h
2016-12-15 19:39 [PATCH] agp: move AGPGART_MINOR to include/linux/miscdevice.h Corentin Labbe
@ 2017-01-10 17:37 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2017-01-10 17:37 UTC (permalink / raw)
To: Corentin Labbe; +Cc: airlied, arnd, linux-kernel
On Thu, Dec 15, 2016 at 08:39:51PM +0100, Corentin Labbe wrote:
> 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(-)
Doesn't apply to my tree :(
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-10 17:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-15 19:39 [PATCH] agp: move AGPGART_MINOR to include/linux/miscdevice.h Corentin Labbe
2017-01-10 17:37 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox