Mailing List archive

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

[linux-dvb] Re: refactoring



> >Have stuff visible in sysfs, firmware loads, powermanagement
> >(suspend/resume), make the code easier to read for others by using
> >the usual structures rather than inventing your own, ...
> 
> Frontend devices are already visible through sysfs, check dvbdev.c.

Not in /sys/devices, which is needed for powermanagement, because the
power management code walks the device tree on suspend/resume.

> In order to allow firmware uploads via this interface we just need to
> pass a valid driver pointer instead of NULL to the registration
> function.

It's a device pointer, not a driver pointer btw.  Where you take that 
from if you don't register within the device tree?

  Gerd

-- 
return -ENOSIG;




Home | Main Index | Thread Index