mtd: register mtd partitions as real mtd devices
So far mtd partitions were mtd devices, but these were not registered.
This patch changes this. mtd partitions are now registered like real
mtd devices. This makes them part of the device hierarchy.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 08f007c commit 0c76b7e3779d1d38b8b70596b122bab076d9f26e
@Sascha Hauer Sascha Hauer authored on 14 Jan 2014
Showing 3 changed files
View
drivers/mtd/core.c
View
drivers/mtd/partition.c
View
fs/devfs-core.c