public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* drivers/char/ite_gpio.c, GPIO_MINOR missing
@ 2005-01-27 13:17 Olaf Hering
  0 siblings, 0 replies; only message in thread
From: Olaf Hering @ 2005-01-27 13:17 UTC (permalink / raw)
  To: linux-kernel, Hai-Pao Fan; +Cc: Andrew Morton


What is the minor number for this driver?
Its not referenced in the makefile, it has no official minor number.
2.4 has MISC_DYNAMIC_MINOR. Should 2.6 use the same?

2.6 driver came already broken.
http://linux.bkbits.net:8080/linux-2.5/gnupatch@3c603dd1pp70eWnkCkTN6Yif9vw14Q

--- ../linux-2.6.11-rc2/drivers/char/ite_gpio.c	2005-01-22 02:48:28.000000000 +0100
+++ ./drivers/char/ite_gpio.c	2005-01-27 14:12:08.418388476 +0100
@@ -370,10 +370,9 @@ static struct file_operations ite_gpio_f
 	.release	= ite_gpio_release,
 };
 
-/* GPIO_MINOR in include/linux/miscdevice.h */
 static struct miscdevice ite_gpio_miscdev =
 {
-	GPIO_MINOR,
+	MISC_DYNAMIC_MINOR,
 	"ite_gpio",
 	&ite_gpio_fops
 };

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-27 13:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-27 13:17 drivers/char/ite_gpio.c, GPIO_MINOR missing Olaf Hering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox