]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/usb/gadget/g_ffs.c
usb: gadget: storage_common: use strtobool instead of kstrtouint
[karo-tx-linux.git] / drivers / usb / gadget / g_ffs.c
index 5327c82472eda8034a54ca664392baf5875b0a7a..2344efe4f4ce8611e6869605e89e1c18aef7000a 100644 (file)
@@ -76,7 +76,9 @@ struct gfs_ffs_obj {
 
 USB_GADGET_COMPOSITE_OPTIONS();
 
+#if defined CONFIG_USB_FUNCTIONFS_ETH || defined CONFIG_USB_FUNCTIONFS_RNDIS
 USB_ETHERNET_MODULE_PARAMETERS();
+#endif
 
 static struct usb_device_descriptor gfs_dev_desc = {
        .bLength                = sizeof gfs_dev_desc,