tree 034ce5d95194b00317b8dc4e1f723a07c1ec3523
parent cc71229ff345a32d1b3de370a257dac62986b187
author Thomas Gleixner <[EMAIL PROTECTED]> Sat, 19 Mar 2005 22:41:30 +0000
committer Thomas Gleixner <[EMAIL PROTECTED]> Mon, 23 May 2005 13:00:41 +0200

[MTD] plat-ram: Make it usable on non ARM platforms

Use memset instead of ARM only memzero function

Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>

 drivers/mtd/maps/plat-ram.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/maps/plat-ram.c b/drivers/mtd/maps/plat-ram.c
--- a/drivers/mtd/maps/plat-ram.c
+++ b/drivers/mtd/maps/plat-ram.c
@@ -6,7 +6,7 @@
  *
  * Generic platfrom device based RAM map
  *
- * $Id: plat-ram.c,v 1.2 2005/03/14 20:33:19 bjd Exp $
+ * $Id: plat-ram.c,v 1.3 2005/03/19 22:41:27 gleixner Exp $
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -153,7 +153,7 @@ static int platram_probe(struct device *
                goto exit_error;
        }
 
-       memzero(info, sizeof(*info));
+       memset(info, 0, sizeof(*info));
        dev_set_drvdata(dev, info);
 
        info->dev = dev;
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to