diff options
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/mtdcore.c | 4 | ||||
-rw-r--r-- | drivers/mtd/nand/raw/nand_base.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/raw/nand_util.c | 2 | ||||
-rw-r--r-- | drivers/mtd/ubi/build.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c index 582129d0df..d0351b2c6a 100644 --- a/drivers/mtd/mtdcore.c +++ b/drivers/mtd/mtdcore.c @@ -4,7 +4,7 @@ * drivers and users. * * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> - * Copyright © 2006 Red Hat UK Limited + * Copyright © 2006 Red Hat UK Limited * */ @@ -123,7 +123,7 @@ void *idr_get_next(struct idr *idp, int *next) } else { *next = 0; } - + return ret; } diff --git a/drivers/mtd/nand/raw/nand_base.c b/drivers/mtd/nand/raw/nand_base.c index b1fd779884..0c26e1d9e6 100644 --- a/drivers/mtd/nand/raw/nand_base.c +++ b/drivers/mtd/nand/raw/nand_base.c @@ -907,7 +907,7 @@ static int nand_wait(struct mtd_info *mtd, struct nand_chip *chip) u32 timer = (CONFIG_SYS_HZ * timeo) / 1000; u32 time_start; - + time_start = get_timer(0); while (get_timer(time_start) < timer) { if (chip->dev_ready) { diff --git a/drivers/mtd/nand/raw/nand_util.c b/drivers/mtd/nand/raw/nand_util.c index 5cc256bf20..d03b8645c4 100644 --- a/drivers/mtd/nand/raw/nand_util.c +++ b/drivers/mtd/nand/raw/nand_util.c @@ -189,7 +189,7 @@ int nand_erase_opts(struct mtd_info *mtd, #define NAND_CMD_LOCK_TIGHT 0x2c #define NAND_CMD_LOCK_STATUS 0x7a - + /****************************************************************************** * Support for locking / unlocking operations of some NAND devices *****************************************************************************/ diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c index 61e38ba1ab..e2bd32697e 100644 --- a/drivers/mtd/ubi/build.c +++ b/drivers/mtd/ubi/build.c @@ -115,7 +115,7 @@ static struct ubi_device *ubi_devices[UBI_MAX_DEVICES]; #else struct ubi_device *ubi_devices[UBI_MAX_DEVICES]; #endif - + #ifndef __UBOOT__ /* Serializes UBI devices creations and removals */ DEFINE_MUTEX(ubi_devices_mutex); |