commit | 7f7c08dfdf5bc0a7c906285d9d97b932f83e8979 | [log] [tgz] |
---|---|---|
author | Jörn Engel <joern@wohnheim.fh-wedel.de> | Thu Apr 13 18:53:14 2006 +0200 |
committer | David Woodhouse <dwmw2@infradead.org> | Mon Apr 17 15:48:16 2006 +0100 |
tree | aaf40f4ef508cee41586e788d7d3f9e7075c364d | |
parent | 94171db1d2f23c22b6050d210b72db3bb2f0b81e [diff] |
Simplify test for RAM devices mtdblock is the only user of aggregate capabilities in mtd. This is clearly bogus and should be changed. In particular, it tries to determine whether the device in question is a piece of RAM. For every single driver that fits the current criteria, an easier test would be to check for the type being MTD_RAM. Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de> Signed-off-by: David Woodhouse <dwmw2@infradead.org>