Re: [PATCH] dt019x: reuse als100 code

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

 



At Wed, 9 Dec 2009 20:10:46 +0100,
Krzysztof Helt wrote:
> 
> From: Krzysztof Helt <krzysztof.h1@xxxxx>
> 
> 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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux