10 Dec
2009
10 Dec
'09
11:47 a.m.
At Wed, 9 Dec 2009 20:10:46 +0100, Krzysztof Helt wrote:
From: Krzysztof Helt krzysztof.h1@wp.pl
The als100 driver is so similar to the dt019x/als007 driver that one driver's source can be used for both drivers with only few ifdefs. Reuse the als100 code as the dt019x/als007 driver.
In this case, we can really merge two modules into one, IMO. You can set a flag in pnp_card_device_id.driver_data, so that you can identify whether it's als100 or dt019x.
Then, add MODULE_ALIAS("snd-dt019x") so that the module can be picked up by the old system, too.
Anyway, this is a 2.6.34 material, so no need to hurry ;)
thanks,
Takashi