LCOV - code coverage report
Current view: top level - drivers/base - firmware.c (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 4 0.0 %
Date: 2014-02-18 Functions: 0 1 0.0 %
Branches: 0 2 0.0 %

           Branch data     Line data    Source code
       1                 :            : /*
       2                 :            :  * firmware.c - firmware subsystem hoohaw.
       3                 :            :  *
       4                 :            :  * Copyright (c) 2002-3 Patrick Mochel
       5                 :            :  * Copyright (c) 2002-3 Open Source Development Labs
       6                 :            :  * Copyright (c) 2007 Greg Kroah-Hartman <gregkh@suse.de>
       7                 :            :  * Copyright (c) 2007 Novell Inc.
       8                 :            :  *
       9                 :            :  * This file is released under the GPLv2
      10                 :            :  */
      11                 :            : #include <linux/kobject.h>
      12                 :            : #include <linux/module.h>
      13                 :            : #include <linux/init.h>
      14                 :            : #include <linux/device.h>
      15                 :            : 
      16                 :            : #include "base.h"
      17                 :            : 
      18                 :            : struct kobject *firmware_kobj;
      19                 :            : EXPORT_SYMBOL_GPL(firmware_kobj);
      20                 :            : 
      21                 :          0 : int __init firmware_init(void)
      22                 :            : {
      23                 :          0 :         firmware_kobj = kobject_create_and_add("firmware", NULL);
      24         [ #  # ]:          0 :         if (!firmware_kobj)
      25                 :            :                 return -ENOMEM;
      26                 :          0 :         return 0;
      27                 :            : }

Generated by: LCOV version 1.9