devfs: let devfs_add_partition return the new partition
Useful for unregistering later or for adding addional flags.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 98df44e commit 121c3d6e9c2fb4649f3349edc522c99f3b9585d9
@Sascha Hauer Sascha Hauer authored on 24 May 2013
Showing 6 changed files
View
arch/x86/boards/x86_generic/generic_pc.c
View
commands/partition.c
View
common/environment.c
View
common/partitions.c
View
fs/devfs-core.c
View
include/driver.h