|
From: <mar...@us...> - 2007-08-30 02:36:56
|
Revision: 1289
http://hackndev.svn.sourceforge.net/hackndev/?rev=1289&view=rev
Author: marex_z71
Date: 2007-08-29 19:36:54 -0700 (Wed, 29 Aug 2007)
Log Message:
-----------
PalmTX: cosmetic corrections to NAND flash driver
Modified Paths:
--------------
linux4palm/linux/trunk/drivers/mtd/nand/palmtx.c
Modified: linux4palm/linux/trunk/drivers/mtd/nand/palmtx.c
===================================================================
--- linux4palm/linux/trunk/drivers/mtd/nand/palmtx.c 2007-08-30 02:31:54 UTC (rev 1288)
+++ linux4palm/linux/trunk/drivers/mtd/nand/palmtx.c 2007-08-30 02:36:54 UTC (rev 1289)
@@ -66,8 +66,6 @@
static void palmtx_hwcontrol(struct mtd_info *mtd, int cmd,
unsigned int ctrl)
{
- struct nand_chip *chip = mtd->priv;
-
/* If there is a command for the chip, send it */
if (cmd != NAND_CMD_NONE) {
switch ((ctrl & 0x6) >> 1) {
@@ -78,7 +76,7 @@
writeb(cmd, nand_ale);
break;
default:
- printk("PalmTX NAND: invalid bit\n");
+ printk("PalmTX NAND: invalid control bit\n");
break;
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|