Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3bcd4649 authored by Clemens Ladisch's avatar Clemens Ladisch Committed by Jaroslav Kysela
Browse files

[ALSA] set owner field in struct pci_driver



AD1889 driver,ALS4000 driver,ATIIXP driver,ATIIXP-modem driver
AZT3328 driver,BT87x driver,CMIPCI driver,CS4281 driver
ENS1370/1+ driver,ES1938 driver,ES1968 driver,FM801 driver
Intel8x0 driver,Intel8x0-modem driver,Maestro3 driver,RME32 driver
RME96 driver,SonicVibes driver,VIA82xx driver,VIA82xx-modem driver
ALI5451 driver,au88x0 driver,CS46xx driver,EMU10K1/EMU10K2 driver
HDA Intel driver,ICE1712 driver,ICE1724 driver,KORG1212 driver
MIXART driver,NM256 driver,RME HDSP driver,RME9652 driver
Trident driver,Digigram VX222 driver,YMFPCI driver
Set the module owner field in each driver's struct pci_driver to get
the driver symlink in the sysfs device directory.

Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
parent 4338829e
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -50,7 +50,7 @@
#include "ad1889.h"
#include "ad1889.h"
#include "ac97/ac97_id.h"
#include "ac97/ac97_id.h"


#define	AD1889_DRVVER	"$Revision: 1.2 $"
#define	AD1889_DRVVER	"$Revision: 1.3 $"


MODULE_AUTHOR("Kyle McMartin <kyle@parisc-linux.org>, Thibaut Varene <t-bone@parisc-linux.org>");
MODULE_AUTHOR("Kyle McMartin <kyle@parisc-linux.org>, Thibaut Varene <t-bone@parisc-linux.org>");
MODULE_DESCRIPTION("Analog Devices AD1889 ALSA sound driver");
MODULE_DESCRIPTION("Analog Devices AD1889 ALSA sound driver");
@@ -1068,6 +1068,7 @@ MODULE_DEVICE_TABLE(pci, snd_ad1889_ids);


static struct pci_driver ad1889_pci = {
static struct pci_driver ad1889_pci = {
	.name = "AD1889 Audio",
	.name = "AD1889 Audio",
	.owner = THIS_MODULE,
	.id_table = snd_ad1889_ids,
	.id_table = snd_ad1889_ids,
	.probe = snd_ad1889_probe,
	.probe = snd_ad1889_probe,
	.remove = __devexit_p(snd_ad1889_remove),
	.remove = __devexit_p(snd_ad1889_remove),
+1 −0
Original line number Original line Diff line number Diff line
@@ -2411,6 +2411,7 @@ static void __devexit snd_ali_remove(struct pci_dev *pci)


static struct pci_driver driver = {
static struct pci_driver driver = {
	.name = "ALI 5451",
	.name = "ALI 5451",
	.owner = THIS_MODULE,
	.id_table = snd_ali_ids,
	.id_table = snd_ali_ids,
	.probe = snd_ali_probe,
	.probe = snd_ali_probe,
	.remove = __devexit_p(snd_ali_remove),
	.remove = __devexit_p(snd_ali_remove),
+1 −0
Original line number Original line Diff line number Diff line
@@ -770,6 +770,7 @@ static void __devexit snd_card_als4000_remove(struct pci_dev *pci)


static struct pci_driver driver = {
static struct pci_driver driver = {
	.name = "ALS4000",
	.name = "ALS4000",
	.owner = THIS_MODULE,
	.id_table = snd_als4000_ids,
	.id_table = snd_als4000_ids,
	.probe = snd_card_als4000_probe,
	.probe = snd_card_als4000_probe,
	.remove = __devexit_p(snd_card_als4000_remove),
	.remove = __devexit_p(snd_card_als4000_remove),
+1 −0
Original line number Original line Diff line number Diff line
@@ -1645,6 +1645,7 @@ static void __devexit snd_atiixp_remove(struct pci_dev *pci)


static struct pci_driver driver = {
static struct pci_driver driver = {
	.name = "ATI IXP AC97 controller",
	.name = "ATI IXP AC97 controller",
	.owner = THIS_MODULE,
	.id_table = snd_atiixp_ids,
	.id_table = snd_atiixp_ids,
	.probe = snd_atiixp_probe,
	.probe = snd_atiixp_probe,
	.remove = __devexit_p(snd_atiixp_remove),
	.remove = __devexit_p(snd_atiixp_remove),
+1 −0
Original line number Original line Diff line number Diff line
@@ -1318,6 +1318,7 @@ static void __devexit snd_atiixp_remove(struct pci_dev *pci)


static struct pci_driver driver = {
static struct pci_driver driver = {
	.name = "ATI IXP MC97 controller",
	.name = "ATI IXP MC97 controller",
	.owner = THIS_MODULE,
	.id_table = snd_atiixp_ids,
	.id_table = snd_atiixp_ids,
	.probe = snd_atiixp_probe,
	.probe = snd_atiixp_probe,
	.remove = __devexit_p(snd_atiixp_remove),
	.remove = __devexit_p(snd_atiixp_remove),
Loading