Title: [4106] trunk: specify labels for gpio_request()
Revision
4106
Author
vapier
Date
2008-01-16 01:22:34 -0600 (Wed, 16 Jan 2008)

Log Message

specify labels for gpio_request()

Diffstat

 drivers/mtd/maps/bf5xx-flash.c  |    2 +-
 drivers/mtd/nand/bfin_nand.c    |    2 +-
 sound/soc/blackfin/bf5xx-ac97.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Modified Paths


Diff

Modified: trunk/drivers/mtd/maps/bf5xx-flash.c (4105 => 4106)


--- trunk/drivers/mtd/maps/bf5xx-flash.c	2008-01-16 07:20:27 UTC (rev 4105)
+++ trunk/drivers/mtd/maps/bf5xx-flash.c	2008-01-16 07:22:34 UTC (rev 4106)
@@ -93,7 +93,7 @@
 #if defined(CONFIG_BFIN_SHARED_FLASH_ENET)
 static inline int setup_pfpins(void)
 {
-	if(gpio_request(CONFIG_ENET_FLASH_PIN, NULL)){
+	if (gpio_request(CONFIG_ENET_FLASH_PIN, "bf5xx-flash")) {
 		printk(KERN_ERR "BF5xx flash: Failed ro request GPIO_%d\n", CONFIG_ENET_FLASH_PIN);
 		return -EBUSY;
 	}

Modified: trunk/drivers/mtd/nand/bfin_nand.c (4105 => 4106)


--- trunk/drivers/mtd/nand/bfin_nand.c	2008-01-16 07:20:27 UTC (rev 4105)
+++ trunk/drivers/mtd/nand/bfin_nand.c	2008-01-16 07:22:34 UTC (rev 4106)
@@ -209,7 +209,7 @@
 	
 	/* Configure GPIO-BFIN_NAND_READY */
 
-	if (gpio_request(CONFIG_BFIN_NAND_READY, NULL))
+	if (gpio_request(CONFIG_BFIN_NAND_READY, "bfin_nand"))
 		printk(KERN_ERR"Requesting NAND Ready GPIO %d faild\n",CONFIG_BFIN_NAND_READY);
 
 	gpio_direction_input(CONFIG_BFIN_NAND_READY);

Modified: trunk/sound/soc/blackfin/bf5xx-ac97.c (4105 => 4106)


--- trunk/sound/soc/blackfin/bf5xx-ac97.c	2008-01-16 07:20:27 UTC (rev 4105)
+++ trunk/sound/soc/blackfin/bf5xx-ac97.c	2008-01-16 07:22:34 UTC (rev 4106)
@@ -205,7 +205,7 @@
 	pr_debug("%s enter\n", __FUNCTION__);
 
 	peripheral_free(per);
-	gpio_request(gpio, NULL);
+	gpio_request(gpio, "bf5xx-ac97");
 	gpio_direction_output(gpio, 1);
 	udelay(2);
 	gpio_set_value(gpio, 0);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to