Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: refactoring



On Monday 11 Oct 2004 12:06, Johannes Stezenbach wrote:
> On Mon, Oct 11, 2004 at 10:59:42AM +0200, Gerd Knorr wrote:
> > On Sun, Oct 10, 2004 at 08:40:46PM +0100, Andrew de Quincey wrote:
> > > extern int at76c651_attach(struct dvb_frontend* fe, struct
> > > at76c651_config* config);
> >
> > I'd use this
> >   struct dvb_frontend* at76c651_attach(struct i2c_adapter *adap,
> >                                        struct at76c651_config *conf);
>
> or even
>     struct dvb_frontend* at76c651_attach(struct i2c_adapter *adap,
>                                          const struct at76c651_config
> *conf);

Actually, it would have to be:

struct dvb_frontend* at76c651_attach(struct i2c_adapter *adap,
        const struct at76c651_config* config,
        struct dvb_adapter* dvb,
                             struct dvb_frontend_ops* ops,
                             void* adapter_data)




Home | Main Index | Thread Index