Title: [7453] trunk/drivers/mtd/maps/gpio-addr-flash.c: gpio-addr-flash: apply some changes that went into mainline
Revision
7453
Author
vapier
Date
2009-09-24 15:03:06 -0400 (Thu, 24 Sep 2009)

Log Message

gpio-addr-flash: apply some changes that went into mainline

Modified Paths


Diff

Modified: trunk/drivers/mtd/maps/gpio-addr-flash.c (7452 => 7453)


--- trunk/drivers/mtd/maps/gpio-addr-flash.c	2009-09-24 18:32:47 UTC (rev 7452)
+++ trunk/drivers/mtd/maps/gpio-addr-flash.c	2009-09-24 19:03:06 UTC (rev 7453)
@@ -2,11 +2,11 @@
  * drivers/mtd/maps/gpio-addr-flash.c
  *
  * Handle the case where a flash device is mostly addressed using physical
- * line and supplemented by GPIOs.  This way you can hook up say a 8meg flash
- * to a 2meg memory range and use the GPIOs to select a particular range.
+ * line and supplemented by GPIOs.  This way you can hook up say a 8MiB flash
+ * to a 2MiB memory range and use the GPIOs to select a particular range.
  *
- * Copyright 2000 Nicolas Pitre <[email protected]>
- * Copyright 2005-2009 Analog Devices Inc.
+ * Copyright © 2000 Nicolas Pitre <[email protected]>
+ * Copyright © 2005-2009 Analog Devices Inc.
  *
  * Enter bugs at http://blackfin.uclinux.org/
  *
@@ -81,7 +81,7 @@
 static map_word gf_read(struct map_info *map, unsigned long ofs)
 {
 	struct async_state *state = gf_map_info_to_state(map);
-	u16 word;
+	uint16_t word;
 	map_word test;
 
 	gf_set_gpios(state, ofs);
@@ -124,7 +124,7 @@
 static void gf_write(struct map_info *map, map_word d1, unsigned long ofs)
 {
 	struct async_state *state = gf_map_info_to_state(map);
-	u16 d;
+	uint16_t d;
 
 	gf_set_gpios(state, ofs);
 
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to