[PATCH] omap/devices-gpmc-nand.c remove repeating words
Michael Grzeschik
m.grzeschik at pengutronix.de
Tue Jun 29 08:32:00 EDT 2010
Signed-off-by: Michael Grzeschik <m.grzeschik at 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
More information about the barebox
mailing list