patch-2.4.20 linux-2.4.20/drivers/char/mk712.c

Next file: linux-2.4.20/drivers/char/mwave/smapi.c
Previous file: linux-2.4.20/drivers/char/mixcomwd.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/drivers/char/mk712.c linux-2.4.20/drivers/char/mk712.c
@@ -439,7 +439,7 @@
                 mk712_irq = irq;
 #endif
 
-	if(request_region(mk712_io, 8, "mk712_touchscreen"))
+	if(!request_region(mk712_io, 8, "mk712_touchscreen"))
 	{
 		printk("mk712: unable to get IO region\n");
 		return -ENODEV;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)