Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1// SPDX-License-Identifier: GPL-2.0-or-later
2
3/* Firmware attributes class helper module */
4
5#include <linux/module.h>
6#include "firmware_attributes_class.h"
7
8const struct class firmware_attributes_class = {
9 .name = "firmware-attributes",
10};
11EXPORT_SYMBOL_GPL(firmware_attributes_class);
12
13static __init int fw_attributes_class_init(void)
14{
15 return class_register(&firmware_attributes_class);
16}
17module_init(fw_attributes_class_init);
18
19static __exit void fw_attributes_class_exit(void)
20{
21 class_unregister(&firmware_attributes_class);
22}
23module_exit(fw_attributes_class_exit);
24
25MODULE_AUTHOR("Mark Pearson <markpearson@lenovo.com>");
26MODULE_DESCRIPTION("Firmware attributes class helper module");
27MODULE_LICENSE("GPL");