Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / drivers / media / dvb / dvb-usb / vp702x-fe.c
index d4da494..2a89f8c 100644 (file)
@@ -287,16 +287,17 @@ struct dvb_frontend * vp702x_fe_attach(struct dvb_usb_device *d)
                goto error;
 
        s->d = d;
-
-       memcpy(&s->fe.ops,&vp702x_fe_ops,sizeof(struct dvb_frontend_ops));
+       s->fe.ops = &vp702x_fe_ops;
        s->fe.demodulator_priv = s;
 
        s->lnb_buf[1] = SET_LNB_POWER;
        s->lnb_buf[3] = 0xff; /* 0=tone burst, 2=data burst, ff=off */
 
-       return &s->fe;
+       goto success;
 error:
        return NULL;
+success:
+       return &s->fe;
 }