drivers/char/ite_gpio.c, GPIO_MINOR missing
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
drivers/char/ite_gpio.c renamed from linux-2.6.11-rc2/drivers/char/ite_gpio.c +1 -2
@@ -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 };