]> Git Repo - linux.git/blob - drivers/platform/x86/firmware_attributes_class.c
Linux 6.14-rc3
[linux.git] / drivers / platform / x86 / firmware_attributes_class.c
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
8 const struct class firmware_attributes_class = {
9         .name = "firmware-attributes",
10 };
11 EXPORT_SYMBOL_GPL(firmware_attributes_class);
12
13 static __init int fw_attributes_class_init(void)
14 {
15         return class_register(&firmware_attributes_class);
16 }
17 module_init(fw_attributes_class_init);
18
19 static __exit void fw_attributes_class_exit(void)
20 {
21         class_unregister(&firmware_attributes_class);
22 }
23 module_exit(fw_attributes_class_exit);
24
25 MODULE_AUTHOR("Mark Pearson <[email protected]>");
26 MODULE_DESCRIPTION("Firmware attributes class helper module");
27 MODULE_LICENSE("GPL");
This page took 0.026776 seconds and 4 git commands to generate.