aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@mandriva.com.br>2005-11-29 14:30:03 +0000
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-11-29 19:37:56 +0100
commite2602b347aa6f62b61754c5f65191ef67ffd0dc7 (patch)
tree014d8dad65ad55bbccbe6ad88cf7f05a5dcc382f /drivers/mtd/maps
parent8bc3b3804a6123e634be26359558aa998102506a (diff)
downloadkernel_samsung_crespo-e2602b347aa6f62b61754c5f65191ef67ffd0dc7.zip
kernel_samsung_crespo-e2602b347aa6f62b61754c5f65191ef67ffd0dc7.tar.gz
kernel_samsung_crespo-e2602b347aa6f62b61754c5f65191ef67ffd0dc7.tar.bz2
[MTD] maps: sparse fixup
The patch below fixes the following sparse warning: drivers/mtd/maps/nettel.c:482:27: warning: Using plain integer as NULL pointer Signed-off-by: Luiz Capitulino <lcapitulino@mandriva.com.br> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/mtd/maps')
-rw-r--r--drivers/mtd/maps/nettel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/maps/nettel.c b/drivers/mtd/maps/nettel.c
index f00ee7e..632eb2a 100644
--- a/drivers/mtd/maps/nettel.c
+++ b/drivers/mtd/maps/nettel.c
@@ -6,7 +6,7 @@
* (C) Copyright 2000-2001, Greg Ungerer (gerg@snapgear.com)
* (C) Copyright 2001-2002, SnapGear (www.snapgear.com)
*
- * $Id: nettel.c,v 1.11 2005/11/07 11:14:27 gleixner Exp $
+ * $Id: nettel.c,v 1.12 2005/11/29 14:30:00 gleixner Exp $
*/
/****************************************************************************/
@@ -479,7 +479,7 @@ void __exit nettel_cleanup(void)
}
if (nettel_intel_map.virt) {
iounmap(nettel_intel_map.virt);
- nettel_intel_map.virt = 0;
+ nettel_intel_map.virt = NULL;
}
#endif
}