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>
This commit is contained in:
@@ -67,9 +67,6 @@ int __initdata iommu_force_on;
|
||||
unsigned long tce_alloc_start, tce_alloc_end;
|
||||
#endif
|
||||
|
||||
/* export that to outside world */
|
||||
struct device_node *of_chosen;
|
||||
|
||||
static int __init early_parse_mem(char *p)
|
||||
{
|
||||
if (!p)
|
||||
|
Reference in New Issue
Block a user