sound: oxygen: make the owner module a parameter of the probe function
authorClemens Ladisch <clemens@ladisch.de>
Thu, 19 Feb 2009 07:37:13 +0000 (08:37 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 19 Feb 2009 09:22:22 +0000 (10:22 +0100)
commitbb71858853a5c9616eea98512f4075d4f081154d
tree62447849ac3a255219029d99ee29557ad9c8de76
parenta5e0e970c06065a14844b406a0c2a59776a1ccc6
sound: oxygen: make the owner module a parameter of the probe function

Move the owner field out of the oxygen_model structure and make it
a parameter of oxygen_pci_probe(), because the actual owner module does
not depend on the card model.  Furthermore, moving it out of the model
structure allows us to create the card structure before the actual model
is known.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/oxygen/hifier.c
sound/pci/oxygen/oxygen.c
sound/pci/oxygen/oxygen.h
sound/pci/oxygen/oxygen_lib.c
sound/pci/oxygen/virtuoso.c