LCOV - code coverage report
Current view: top level - drivers/base - init.c (source / functions) Hit Total Coverage
Test: coverage.info Lines: 9 9 100.0 %
Date: 2022-12-09 01:23:36 Functions: 1 1 100.0 %

          Line data    Source code
       1             : // SPDX-License-Identifier: GPL-2.0
       2             : /*
       3             :  * Copyright (c) 2002-3 Patrick Mochel
       4             :  * Copyright (c) 2002-3 Open Source Development Labs
       5             :  */
       6             : 
       7             : #include <linux/device.h>
       8             : #include <linux/init.h>
       9             : #include <linux/memory.h>
      10             : #include <linux/of.h>
      11             : 
      12             : #include "base.h"
      13             : 
      14             : /**
      15             :  * driver_init - initialize driver model.
      16             :  *
      17             :  * Call the driver model init functions to initialize their
      18             :  * subsystems. Called early from init/main.c.
      19             :  */
      20           1 : void __init driver_init(void)
      21             : {
      22             :         /* These are the core pieces */
      23             :         devtmpfs_init();
      24           1 :         devices_init();
      25           1 :         buses_init();
      26           1 :         classes_init();
      27           1 :         firmware_init();
      28             :         hypervisor_init();
      29             : 
      30             :         /* These are also core pieces, but must come after the
      31             :          * core core pieces.
      32             :          */
      33             :         of_core_init();
      34           1 :         platform_bus_init();
      35             :         auxiliary_bus_init();
      36           1 :         cpu_dev_init();
      37             :         memory_dev_init();
      38             :         node_dev_init();
      39           1 :         container_dev_init();
      40           1 : }

Generated by: LCOV version 1.14