aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps/plat-ram.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2005-03-19 17:41:30 -0500
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-05-23 07:00:41 -0400
commita921e28b4bd35b091754a1814ff015fe268b9295 (patch)
tree034ce5d95194b00317b8dc4e1f723a07c1ec3523 /drivers/mtd/maps/plat-ram.c
parentcc71229ff345a32d1b3de370a257dac62986b187 (diff)
[MTD] plat-ram: Make it usable on non ARM platforms
Use memset instead of ARM only memzero function Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/mtd/maps/plat-ram.c')
-rw-r--r--drivers/mtd/maps/plat-ram.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/maps/plat-ram.c b/drivers/mtd/maps/plat-ram.c
index f7e6dad50ca3..118b04544cad 100644
--- a/drivers/mtd/maps/plat-ram.c
+++ b/drivers/mtd/maps/plat-ram.c
@@ -6,7 +6,7 @@
6 * 6 *
7 * Generic platfrom device based RAM map 7 * Generic platfrom device based RAM map
8 * 8 *
9 * $Id: plat-ram.c,v 1.2 2005/03/14 20:33:19 bjd Exp $ 9 * $Id: plat-ram.c,v 1.3 2005/03/19 22:41:27 gleixner Exp $
10 * 10 *
11 * This program is free software; you can redistribute it and/or modify 11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by 12 * it under the terms of the GNU General Public License as published by
@@ -153,7 +153,7 @@ static int platram_probe(struct device *dev)
153 goto exit_error; 153 goto exit_error;
154 } 154 }
155 155
156 memzero(info, sizeof(*info)); 156 memset(info, 0, sizeof(*info));
157 dev_set_drvdata(dev, info); 157 dev_set_drvdata(dev, info);
158 158
159 info->dev = dev; 159 info->dev = dev;