Title: [8884] trunk/arch/blackfin/kernel/bfin_gpio.c: [#6056] bfin: fix typos in BF538 gpio code
Revision
8884
Author
vapier
Date
2010-06-03 00:19:19 -0400 (Thu, 03 Jun 2010)

Log Message

[#6056] bfin: fix typos in BF538 gpio code

Modified Paths

Diff

Modified: trunk/arch/blackfin/kernel/bfin_gpio.c (8883 => 8884)


--- trunk/arch/blackfin/kernel/bfin_gpio.c	2010-06-03 03:20:37 UTC (rev 8883)
+++ trunk/arch/blackfin/kernel/bfin_gpio.c	2010-06-03 04:19:19 UTC (rev 8884)
@@ -926,14 +926,14 @@
 		return 0;
 	}
 
-	if (unlikely(is_reserved(special_gpio, gpio), 1)) {
+	if (unlikely(is_reserved(special_gpio, gpio, 1))) {
 		local_irq_restore_hw(flags);
 		printk(KERN_ERR "bfin-gpio: GPIO %d is already reserved by %s !\n",
 		       gpio, get_label(gpio));
 
 		return -EBUSY;
 	}
-	if (unlikely(is_reserved(peri, gpio), 1)) {
+	if (unlikely(is_reserved(peri, gpio, 1))) {
 		local_irq_restore_hw(flags);
 		printk(KERN_ERR
 		       "bfin-gpio: GPIO %d is already reserved as Peripheral by %s !\n",
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to