ASoC: Ensure the WM8962 oscillator and PLLs start up disabled
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / base / firmware.c
blob11381555680943616bbc82a734f4e0e860ee5024
1 /*
2 * firmware.c - firmware subsystem hoohaw.
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.
9 * This file is released under the GPLv2
11 #include <linux/kobject.h>
12 #include <linux/module.h>
13 #include <linux/init.h>
14 #include <linux/device.h>
16 #include "base.h"
18 struct kobject *firmware_kobj;
19 EXPORT_SYMBOL_GPL(firmware_kobj);
21 int __init firmware_init(void)
23 firmware_kobj = kobject_create_and_add("firmware", NULL);
24 if (!firmware_kobj)
25 return -ENOMEM;
26 return 0;