* [PATCH] omap/devices-gpmc-nand.c remove repeating words
@ 2010-06-29 12:32 Michael Grzeschik
0 siblings, 0 replies; only message in thread
From: Michael Grzeschik @ 2010-06-29 12:32 UTC (permalink / raw)
To: barebox
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
---
board/omap/devices-gpmc-nand.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/board/omap/devices-gpmc-nand.c b/board/omap/devices-gpmc-nand.c
index bbcceaf..a25933f 100644
--- a/board/omap/devices-gpmc-nand.c
+++ b/board/omap/devices-gpmc-nand.c
@@ -95,7 +95,7 @@ static struct gpmc_config nand_cfg = {
.size = GPMC_SIZE_16M,
};
-/** NAND platform specific settings settings */
+/** NAND platform specific settings */
static struct gpmc_nand_platform_data nand_plat = {
.cs = CONFIG_MACH_OMAP_CS,
.device_width = GPMC_NAND_DEV_WIDTH,
@@ -111,7 +111,7 @@ static struct gpmc_nand_platform_data nand_plat = {
};
/** NAND device definition */
-static struct device_d gpmc_generic_nand_nand_device = {
+static struct device_d gpmc_generic_nand_device = {
.name = "gpmc_nand",
.map_base = OMAP_GPMC_BASE,
.size = 1024 * 4, /* GPMC size */
@@ -127,7 +127,7 @@ static int gpmc_generic_nand_devices_init(void)
{
/* Configure GPMC CS before register */
gpmc_cs_config(nand_plat.cs, &nand_cfg);
- return register_device(&gpmc_generic_nand_nand_device);
+ return register_device(&gpmc_generic_nand_device);
}
device_initcall(gpmc_generic_nand_devices_init);
--
1.7.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-06-29 12:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-29 12:32 [PATCH] omap/devices-gpmc-nand.c remove repeating words Michael Grzeschik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox