mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
[media] opera1: fix ERROR: do not use assignment in if condition
Signed-off-by: Michael Krufky <mkrufky@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
d12f51aa7b
commit
ee03a6795e
1 changed files with 3 additions and 3 deletions
|
@ -263,9 +263,9 @@ static struct stv0299_config opera1_stv0299_config = {
|
|||
|
||||
static int opera1_frontend_attach(struct dvb_usb_adapter *d)
|
||||
{
|
||||
if ((d->fe_adap[0].fe =
|
||||
dvb_attach(stv0299_attach, &opera1_stv0299_config,
|
||||
&d->dev->i2c_adap)) != NULL) {
|
||||
d->fe_adap[0].fe = dvb_attach(stv0299_attach, &opera1_stv0299_config,
|
||||
&d->dev->i2c_adap);
|
||||
if ((d->fe_adap[0].fe) != NULL) {
|
||||
d->fe_adap[0].fe->ops.set_voltage = opera1_set_voltage;
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue