hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/usb/usbip/vudc_sysfs.c
....@@ -12,7 +12,6 @@
1212 #include <linux/usb/ch9.h>
1313 #include <linux/sysfs.h>
1414 #include <linux/kthread.h>
15
-#include <linux/file.h>
1615 #include <linux/byteorder/generic.h>
1716
1817 #include "usbip_common.h"
....@@ -258,7 +257,12 @@
258257 NULL,
259258 };
260259
261
-const struct attribute_group vudc_attr_group = {
260
+static const struct attribute_group vudc_attr_group = {
262261 .attrs = dev_attrs,
263262 .bin_attrs = dev_bin_attrs,
264263 };
264
+
265
+const struct attribute_group *vudc_groups[] = {
266
+ &vudc_attr_group,
267
+ NULL,
268
+};