aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/chips
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2008-01-07 11:00:17 -0500
committerDavid Woodhouse <dwmw2@infradead.org>2008-02-03 01:55:41 -0500
commit53d885539293e98f5b979c20518858fc8f933749 (patch)
tree5d94e103b699baf86f9c753f4888b7eede786e88 /drivers/mtd/chips
parentd0bf37932ac98cc793da2164ac1a4656fbf34bbc (diff)
[MTD] JEDEC probe: kill some inline bloat
$ codiff $OBJ.old $OBJ drivers/mtd/chips/jedec_probe.c: cfi_jedec_setup | -320 jedec_probe_chip | -7073 2 functions changed, 7393 bytes removed, diff: -7393 drivers/mtd/chips/jedec_probe.c: jedec_reset | +1151 1 function changed, 1151 bytes added, diff: +1151 drivers/mtd/chips/jedec_probe.o: 3 functions changed, 1151 bytes added, 7393 bytes removed, diff: -6242 Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/mtd/chips')
-rw-r--r--drivers/mtd/chips/jedec_probe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c
index 640593845218..4204bb23a175 100644
--- a/drivers/mtd/chips/jedec_probe.c
+++ b/drivers/mtd/chips/jedec_probe.c
@@ -1676,8 +1676,7 @@ static inline u32 jedec_read_id(struct map_info *map, uint32_t base,
1676 return result.x[0] & mask; 1676 return result.x[0] & mask;
1677} 1677}
1678 1678
1679static inline void jedec_reset(u32 base, struct map_info *map, 1679static void jedec_reset(u32 base, struct map_info *map, struct cfi_private *cfi)
1680 struct cfi_private *cfi)
1681{ 1680{
1682 /* Reset */ 1681 /* Reset */
1683 1682