// SPDX-License-Identifier: GPL-2.01/*2* firmware.c - firmware subsystem hoohaw.3*4* Copyright (c) 2002-3 Patrick Mochel5* Copyright (c) 2002-3 Open Source Development Labs6* Copyright (c) 2007 Greg Kroah-Hartman <[email protected]>7* Copyright (c) 2007 Novell Inc.8*/9#include <linux/kobject.h>10#include <linux/module.h>11#include <linux/init.h>12#include <linux/device.h>1314#include "base.h"1516struct kobject *firmware_kobj;17EXPORT_SYMBOL_GPL(firmware_kobj);1819int __init firmware_init(void)20{21firmware_kobj = kobject_create_and_add("firmware", NULL);22if (!firmware_kobj)23return -ENOMEM;24return 0;25}262728