diff options
-rw-r--r-- | drivers/usb/gadget/net2280.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/net2280.c b/drivers/usb/gadget/net2280.c index 7cfe0e5cf670..3acc896a5d4c 100644 --- a/drivers/usb/gadget/net2280.c +++ b/drivers/usb/gadget/net2280.c | |||
@@ -1774,8 +1774,8 @@ static DEVICE_ATTR (queues, S_IRUGO, show_queues, NULL); | |||
1774 | 1774 | ||
1775 | #else | 1775 | #else |
1776 | 1776 | ||
1777 | #define device_create_file(a,b) do {} while (0) | 1777 | #define device_create_file(a,b) (0) |
1778 | #define device_remove_file device_create_file | 1778 | #define device_remove_file(a,b) do { } while (0) |
1779 | 1779 | ||
1780 | #endif | 1780 | #endif |
1781 | 1781 | ||