diff options
author | Hema Prathaban <hemaklnce@gmail.com> | 2013-05-09 19:08:51 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-13 05:45:37 -0700 |
commit | 13aa4016e8a8006a228716a6b099acaf21b96b2b (patch) | |
tree | b80f73afc80851764635ca102cb7fb1f067d2918 | |
parent | 36270be3b7a1541b98d8a2356b113493d98c98de (diff) | |
download | op-kernel-dev-13aa4016e8a8006a228716a6b099acaf21b96b2b.zip op-kernel-dev-13aa4016e8a8006a228716a6b099acaf21b96b2b.tar.gz |
staging: goldfish: Fixed line over 80 characters
Fixes the following checkpatch warning:
WARNING: line over 80 characters
Signed-off-by: Hema Prathaban <hemaklnce@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/goldfish/goldfish_nand.c | 3 | ||||
-rw-r--r-- | drivers/staging/goldfish/goldfish_nand_reg.h | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/drivers/staging/goldfish/goldfish_nand.c b/drivers/staging/goldfish/goldfish_nand.c index 3b7ba61..81e2ad4 100644 --- a/drivers/staging/goldfish/goldfish_nand.c +++ b/drivers/staging/goldfish/goldfish_nand.c @@ -328,7 +328,8 @@ static int goldfish_nand_init_device(struct platform_device *pdev, mtd->size *= mtd->writesize; dev_dbg(&pdev->dev, "goldfish nand dev%d: size %llx, page %d, extra %d, erase %d\n", - id, mtd->size, mtd->writesize, mtd->oobsize, mtd->erasesize); + id, mtd->size, mtd->writesize, + mtd->oobsize, mtd->erasesize); spin_unlock_irqrestore(&nand->lock, irq_flags); mtd->priv = nand; diff --git a/drivers/staging/goldfish/goldfish_nand_reg.h b/drivers/staging/goldfish/goldfish_nand_reg.h index 956c6c3..ac17f88 100644 --- a/drivers/staging/goldfish/goldfish_nand_reg.h +++ b/drivers/staging/goldfish/goldfish_nand_reg.h @@ -17,11 +17,13 @@ #define GOLDFISH_NAND_REG_H enum nand_cmd { - NAND_CMD_GET_DEV_NAME, /* Write device name for NAND_DEV to NAND_DATA (vaddr) */ + /* Write device name for NAND_DEV to NAND_DATA (vaddr) */ + NAND_CMD_GET_DEV_NAME, NAND_CMD_READ, NAND_CMD_WRITE, NAND_CMD_ERASE, - NAND_CMD_BLOCK_BAD_GET, /* NAND_RESULT is 1 if block is bad, 0 if it is not */ + /* NAND_RESULT is 1 if block is bad, 0 if it is not */ + NAND_CMD_BLOCK_BAD_GET, NAND_CMD_BLOCK_BAD_SET, NAND_CMD_READ_WITH_PARAMS, NAND_CMD_WRITE_WITH_PARAMS, |