}
module_exit(fw_attributes_class_exit);
-int fw_attributes_class_get(const struct class **fw_attr_class)
-{
- *fw_attr_class = &firmware_attributes_class;
- return 0;
-}
-EXPORT_SYMBOL_GPL(fw_attributes_class_get);
-
-int fw_attributes_class_put(void)
-{
- return 0;
-}
-EXPORT_SYMBOL_GPL(fw_attributes_class_put);
-
MODULE_AUTHOR("Mark Pearson <markpearson@lenovo.com>");
MODULE_DESCRIPTION("Firmware attributes class helper module");
MODULE_LICENSE("GPL");
#include <linux/device/class.h>
extern const struct class firmware_attributes_class;
-int fw_attributes_class_get(const struct class **fw_attr_class);
-int fw_attributes_class_put(void);
#endif /* FW_ATTR_CLASS_H */