.. | .. |
---|
12 | 12 | #include <linux/usb/ch9.h> |
---|
13 | 13 | #include <linux/sysfs.h> |
---|
14 | 14 | #include <linux/kthread.h> |
---|
15 | | -#include <linux/file.h> |
---|
16 | 15 | #include <linux/byteorder/generic.h> |
---|
17 | 16 | |
---|
18 | 17 | #include "usbip_common.h" |
---|
.. | .. |
---|
258 | 257 | NULL, |
---|
259 | 258 | }; |
---|
260 | 259 | |
---|
261 | | -const struct attribute_group vudc_attr_group = { |
---|
| 260 | +static const struct attribute_group vudc_attr_group = { |
---|
262 | 261 | .attrs = dev_attrs, |
---|
263 | 262 | .bin_attrs = dev_bin_attrs, |
---|
264 | 263 | }; |
---|
| 264 | + |
---|
| 265 | +const struct attribute_group *vudc_groups[] = { |
---|
| 266 | + &vudc_attr_group, |
---|
| 267 | + NULL, |
---|
| 268 | +}; |
---|