aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2008-01-16 08:54:46 -0500
committerJaroslav Kysela <perex@perex.cz>2008-01-31 11:30:00 -0500
commite4d76815c2d6477f4b77f1c7dbfbde113af89e67 (patch)
tree14e661ef042a820cf9bd7350d88b963f191a5d62 /sound/pci
parente7d7c2e28890e1b3944246af1a668b6da91ab411 (diff)
[ALSA] sound: fix ad1889 section mismatch
Fix section mismatch in ad1889 by renaming the pci_driver variable to a whitelisted variable name. WARNING: vmlinux.o(.data+0x2e5ff0): Section mismatch: reference to .init.text:snd_ad1889_probe (between 'ad1889_pci' and 'index') Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/ad1889.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/ad1889.c b/sound/pci/ad1889.c
index be9f1a276be8..a66d5150bb7a 100644
--- a/sound/pci/ad1889.c
+++ b/sound/pci/ad1889.c
@@ -1054,7 +1054,7 @@ static struct pci_device_id snd_ad1889_ids[] = {
1054}; 1054};
1055MODULE_DEVICE_TABLE(pci, snd_ad1889_ids); 1055MODULE_DEVICE_TABLE(pci, snd_ad1889_ids);
1056 1056
1057static struct pci_driver ad1889_pci = { 1057static struct pci_driver ad1889_pci_driver = {
1058 .name = "AD1889 Audio", 1058 .name = "AD1889 Audio",
1059 .id_table = snd_ad1889_ids, 1059 .id_table = snd_ad1889_ids,
1060 .probe = snd_ad1889_probe, 1060 .probe = snd_ad1889_probe,
@@ -1064,13 +1064,13 @@ static struct pci_driver ad1889_pci = {
1064static int __init 1064static int __init
1065alsa_ad1889_init(void) 1065alsa_ad1889_init(void)
1066{ 1066{
1067 return pci_register_driver(&ad1889_pci); 1067 return pci_register_driver(&ad1889_pci_driver);
1068} 1068}
1069 1069
1070static void __exit 1070static void __exit
1071alsa_ad1889_fini(void) 1071alsa_ad1889_fini(void)
1072{ 1072{
1073 pci_unregister_driver(&ad1889_pci); 1073 pci_unregister_driver(&ad1889_pci_driver);
1074} 1074}
1075 1075
1076module_init(alsa_ad1889_init); 1076module_init(alsa_ad1889_init);