]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc/axonram: Use only one block device major number
authorMaxim Shchetynin <maxim@de.ibm.com>
Tue, 15 Jul 2008 19:51:41 +0000 (05:51 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 22 Jul 2008 00:39:31 +0000 (10:39 +1000)
commit9a23409b69440e76d34dc23846cae44f46f60d98
tree77b164c7a07f9e2edfd5efc71b79a986ed3071df
parent18ad7a61e1b700dfe177fabf1c350b4f5d4da8ac
powerpc/axonram: Use only one block device major number

Axonram module registers one block device for each DDR2 DIMM found
on a system. This means that each DDR2 DIMM becomes its own block device
major number. This patch lets axonram module to register the only one
block device for all DDR2 DIMMs which also spares kernel resources.

Signed-off-by: Maxim Shchetynin <maxim@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/axonram.c