of: move definition of of_chosen into common code.
authorGrant Likely <grant.likely@secretlab.ca>
Sun, 14 Feb 2010 14:13:55 +0000 (07:13 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 14 Feb 2010 14:13:55 +0000 (07:13 -0700)
commitfc0bdae49d810e4cb32d7b547bc6d4dfb08f9e2e
tree081821a0091b3c0301d66d1b692b6e3ccea83056
parent22d5579e66101162fd1119f2e7f4f999ca8b48c7
of: move definition of of_chosen into common code.

Rather than defining of_chosen in each arch, it can be defined for all
in driver/of/base.c

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/include/asm/prom.h
arch/microblaze/kernel/prom.c
arch/powerpc/include/asm/prom.h
arch/powerpc/kernel/prom.c
drivers/of/base.c
include/linux/of.h