|
@@ -273,7 +273,9 @@ static int hdpvr_probe(struct usb_interface *interface,
|
|
struct hdpvr_device *dev;
|
|
struct hdpvr_device *dev;
|
|
struct usb_host_interface *iface_desc;
|
|
struct usb_host_interface *iface_desc;
|
|
struct usb_endpoint_descriptor *endpoint;
|
|
struct usb_endpoint_descriptor *endpoint;
|
|
|
|
+#if IS_ENABLED(CONFIG_I2C)
|
|
struct i2c_client *client;
|
|
struct i2c_client *client;
|
|
|
|
+#endif
|
|
size_t buffer_size;
|
|
size_t buffer_size;
|
|
int i;
|
|
int i;
|
|
int retval = -ENOMEM;
|
|
int retval = -ENOMEM;
|