NFS: Fix the return value in nfs_page_mkwrite()
[linux-2.6/mini2440.git] / drivers / base / init.c
blob7bd9b6a5b01f9497fcb2c35fccae144860299f93
1 /*
2 * Copyright (c) 2002-3 Patrick Mochel
3 * Copyright (c) 2002-3 Open Source Development Labs
5 * This file is released under the GPLv2
6 */
8 #include <linux/device.h>
9 #include <linux/init.h>
10 #include <linux/memory.h>
12 #include "base.h"
14 /**
15 * driver_init - initialize driver model.
17 * Call the driver model init functions to initialize their
18 * subsystems. Called early from init/main.c.
20 void __init driver_init(void)
22 /* These are the core pieces */
23 devices_init();
24 buses_init();
25 classes_init();
26 firmware_init();
27 hypervisor_init();
29 /* These are also core pieces, but must come after the
30 * core core pieces.
32 platform_bus_init();
33 system_bus_init();
34 cpu_dev_init();
35 memory_dev_init();