[linux-dvb] [PATCH] check dev-core/dvbdev is initialised when an adapter or device is registered [Was: saa7134-dvb initialised before dvbdev]

Johannes Stezenbach js at linuxtv.org
Wed Jun 7 14:45:43 CEST 2006


On Wed, Jun 07, 2006 at 12:36:27AM +0100, Simon Arlott wrote:
> The init function in dvbdev isn't called until after saa7134-dvb has
> finished initialising, so devices can't be registered properly. No-one
> else has replied about this yet and someone might the patch I made
> useful so here it is.

I think a much simpler way to fix this would be to change
  module_init(init_dvbdev);
into
  subsys_initcall(init_dvbdev);

Could you please test if that fixes it for you?

Thanks,
Johannes



More information about the linux-dvb mailing list