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>
This commit is contained in:
Родитель
36270be3b7
Коммит
13aa4016e8
|
@ -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;
|
||||
|
|
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче