git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
drivers
/
mtd
/
chips
/
map_absent.c
diff --git
a/drivers/mtd/chips/map_absent.c
b/drivers/mtd/chips/map_absent.c
index
c6c8383
..
a611de9
100644
(file)
--- a/
drivers/mtd/chips/map_absent.c
+++ b/
drivers/mtd/chips/map_absent.c
@@
-1,11
+1,11
@@
/*
* Common code to handle absent "placeholder" devices
* Copyright 2001 Resilience Corporation <ebrower@resilience.com>
/*
* Common code to handle absent "placeholder" devices
* Copyright 2001 Resilience Corporation <ebrower@resilience.com>
- * $Id: map_absent.c,v 1.
5 2004/11/16 18:29:00 dwmw2
Exp $
+ * $Id: map_absent.c,v 1.
6 2005/11/07 11:14:23 gleixner
Exp $
*
* This map driver is used to allocate "placeholder" MTD
*
* This map driver is used to allocate "placeholder" MTD
- * devices on systems that have socketed/removable media.
- * Use of this driver as a fallback preserves the expected
+ * devices on systems that have socketed/removable media.
+ * Use of this driver as a fallback preserves the expected
* registration of MTD device nodes regardless of probe outcome.
* A usage example is as follows:
*
* registration of MTD device nodes regardless of probe outcome.
* A usage example is as follows:
*
@@
-80,7
+80,7
@@
static int map_absent_read(struct mtd_info *mtd, loff_t from, size_t len, size_t
static int map_absent_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf)
{
*retlen = 0;
static int map_absent_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf)
{
*retlen = 0;
- return -ENODEV;
+ return -ENODEV;
}
static int map_absent_erase(struct mtd_info *mtd, struct erase_info *instr)
}
static int map_absent_erase(struct mtd_info *mtd, struct erase_info *instr)