Title: [4026] trunk/drivers/char/bfin_pflags.c: [#3764] fix from Jean-Christian de Rivaz to make sure we pass a label to gpio_request ()
Revision
4026
Author
vapier
Date
2007-12-11 09:02:59 -0600 (Tue, 11 Dec 2007)

Log Message

[#3764] fix from Jean-Christian de Rivaz to make sure we pass a label to gpio_request()

Diffstat

 bfin_pflags.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Modified Paths

Diff

Modified: trunk/drivers/char/bfin_pflags.c (4025 => 4026)


--- trunk/drivers/char/bfin_pflags.c	2007-12-11 10:36:28 UTC (rev 4025)
+++ trunk/drivers/char/bfin_pflags.c	2007-12-11 15:02:59 UTC (rev 4026)
@@ -128,7 +128,7 @@
 
 	spin_lock_irqsave(&pflags_lock, flags);
 
-	if(gpio_request(minor, NULL)){
+	if (gpio_request(minor, "pflags")) {
 		spin_unlock_irqrestore(&pflags_lock, flags);
 		return -EBUSY;
 	}
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to