summaryrefslogtreecommitdiffstats
path: root/sound/oss/kahlua.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/oss/kahlua.c')
-rw-r--r--sound/oss/kahlua.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/oss/kahlua.c b/sound/oss/kahlua.c
index c180598f171..52d06a334e8 100644
--- a/sound/oss/kahlua.c
+++ b/sound/oss/kahlua.c
@@ -31,6 +31,7 @@
#include <linux/init.h>
#include <linux/module.h>
#include <linux/pci.h>
+#include <linux/slab.h>
#include "sound_config.h"
@@ -198,8 +199,8 @@ MODULE_LICENSE("GPL");
* 5530 only. The 5510/5520 decode is different.
*/
-static struct pci_device_id id_tbl[] = {
- { PCI_VENDOR_ID_CYRIX, PCI_DEVICE_ID_CYRIX_5530_AUDIO, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
+static DEFINE_PCI_DEVICE_TABLE(id_tbl) = {
+ { PCI_VDEVICE(CYRIX, PCI_DEVICE_ID_CYRIX_5530_AUDIO), 0 },
{ }
};