tracing: extend sched_pi_setprio
[deliverable/linux.git] / drivers / base / init.c
CommitLineData
1da177e4 1/*
1da177e4
LT
2 * Copyright (c) 2002-3 Patrick Mochel
3 * Copyright (c) 2002-3 Open Source Development Labs
4 *
5 * This file is released under the GPLv2
1da177e4
LT
6 */
7
8#include <linux/device.h>
9#include <linux/init.h>
3947be19 10#include <linux/memory.h>
194ec936 11#include <linux/of.h>
1da177e4 12
a1bdc7aa
BD
13#include "base.h"
14
1da177e4 15/**
4a3ad20c 16 * driver_init - initialize driver model.
1da177e4 17 *
4a3ad20c
GKH
18 * Call the driver model init functions to initialize their
19 * subsystems. Called early from init/main.c.
1da177e4 20 */
1da177e4
LT
21void __init driver_init(void)
22{
23 /* These are the core pieces */
2b2af54a 24 devtmpfs_init();
1da177e4
LT
25 devices_init();
26 buses_init();
27 classes_init();
28 firmware_init();
4039483f 29 hypervisor_init();
1da177e4
LT
30
31 /* These are also core pieces, but must come after the
32 * core core pieces.
33 */
34 platform_bus_init();
1da177e4 35 cpu_dev_init();
3947be19 36 memory_dev_init();
caa73ea1 37 container_dev_init();
194ec936 38 of_core_init();
1da177e4 39}
This page took 0.853332 seconds and 5 git commands to generate.