Message ID | 513F769D.6040306@infradead.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
--- lnx-39-rc2.orig/drivers/media/usb/hdpvr/hdpvr-video.c +++ lnx-39-rc2/drivers/media/usb/hdpvr/hdpvr-video.c @@ -1238,7 +1238,7 @@ static void hdpvr_device_release(struct v4l2_device_unregister(&dev->v4l2_dev); /* deregister I2C adapter */ -#if defined(CONFIG_I2C) || (CONFIG_I2C_MODULE) +#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE) mutex_lock(&dev->i2c_mutex); i2c_del_adapter(&dev->i2c_adapter); mutex_unlock(&dev->i2c_mutex);