From: Jörn Engel Date: Thu, 13 Apr 2006 16:53:14 +0000 (+0200) Subject: Simplify test for RAM devices X-Git-Tag: v2.6.18-rc1~1105^2~153 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f7c08dfdf5bc0a7c906285d9d97b932f83e8979;p=pandora-kernel.git 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 Signed-off-by: David Woodhouse --- Reading git-diff-tree failed