File: riptide.patch

package info (click to toggle)
alsa-driver 1.0.13-5etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 20,108 kB
  • ctags: 50,477
  • sloc: ansic: 319,881; sh: 32,930; makefile: 2,015; python: 1,527; perl: 1,316; xml: 896; awk: 66
file content (22 lines) | stat: -rw-r--r-- 645 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- ../../alsa-kernel/pci/riptide/riptide.c	2006-04-10 15:36:21.000000000 +0200
+++ riptide.c	2006-04-18 13:20:12.000000000 +0200
@@ -1269,7 +1269,12 @@
 				if ((err =
 				     request_firmware(&chip->fw_entry,
 						      "riptide.hex",
-						      &chip->pci->dev)) != 0) {
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0)
+						      pci_name(chip->pci)
+#else
+						      &chip->pci->dev
+#endif
+						      )) != 0) {
 					snd_printk(KERN_ERR
 						   "Riptide: Firmware not available %d\n",
 						   err);
@@ -2221,3 +2226,5 @@
 
 module_init(alsa_card_riptide_init);
 module_exit(alsa_card_riptide_exit);
+
+EXPORT_NO_SYMBOLS;