mtd/drivers/mtd/maps plat-ram.c,1.1,1.2
bjd at infradead.org
bjd at infradead.org
Mon Mar 14 15:33:22 EST 2005
Update of /home/cvs/mtd/drivers/mtd/maps
In directory phoenix.infradead.org:/tmp/cvs-serv11168/drivers/mtd/maps
Modified Files:
plat-ram.c
Log Message:
removed define of DEBUG
removed extraneous debugging code
Index: plat-ram.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/plat-ram.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- plat-ram.c 24 Jan 2005 00:37:02 -0000 1.1
+++ plat-ram.c 14 Mar 2005 20:33:19 -0000 1.2
@@ -23,8 +23,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#define DEBUG
-
#include <linux/module.h>
#include <linux/types.h>
#include <linux/init.h>
@@ -192,7 +190,7 @@
/* remap the memory area */
info->map.virt = ioremap(res->start, info->map.size);
- dev_dbg(dev, "virt %p, %d bytes\n", info->map.virt, info->map.size);
+ dev_dbg(dev, "virt %p, %lu bytes\n", info->map.virt, info->map.size);
if (info->map.virt == NULL) {
dev_err(dev, "failed to ioremap() region\n");
@@ -200,12 +198,6 @@
goto exit_free;
}
- {
- unsigned int *p = (unsigned int *)info->map.virt;
- printk("%08x %08x %08x %08x\n",
- readl(p), readl(p+1), readl(p+2), readl(p+3));
- }
-
simple_map_init(&info->map);
dev_dbg(dev, "initialised map, probing for mtd\n");
More information about the linux-mtd-cvs
mailing list