diff options
Diffstat (limited to 'sound/pci/rme9652/hdsp.c')
-rw-r--r-- | sound/pci/rme9652/hdsp.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c index 6694866089b5..52525eb198c7 100644 --- a/sound/pci/rme9652/hdsp.c +++ b/sound/pci/rme9652/hdsp.c | |||
@@ -370,13 +370,6 @@ MODULE_SUPPORTED_DEVICE("{{RME Hammerfall-DSP}," | |||
370 | #define UNITY_GAIN 32768 | 370 | #define UNITY_GAIN 32768 |
371 | #define MINUS_INFINITY_GAIN 0 | 371 | #define MINUS_INFINITY_GAIN 0 |
372 | 372 | ||
373 | #ifndef PCI_VENDOR_ID_XILINX | ||
374 | #define PCI_VENDOR_ID_XILINX 0x10ee | ||
375 | #endif | ||
376 | #ifndef PCI_DEVICE_ID_XILINX_HAMMERFALL_DSP | ||
377 | #define PCI_DEVICE_ID_XILINX_HAMMERFALL_DSP 0x3fc5 | ||
378 | #endif | ||
379 | |||
380 | /* the size of a substream (1 mono data stream) */ | 373 | /* the size of a substream (1 mono data stream) */ |
381 | 374 | ||
382 | #define HDSP_CHANNEL_BUFFER_SAMPLES (16*1024) | 375 | #define HDSP_CHANNEL_BUFFER_SAMPLES (16*1024) |
@@ -4899,6 +4892,7 @@ static int snd_hdsp_create_alsa_devices(snd_card_t *card, hdsp_t *hdsp) | |||
4899 | } | 4892 | } |
4900 | 4893 | ||
4901 | if (!(hdsp->state & HDSP_InitializationComplete)) { | 4894 | if (!(hdsp->state & HDSP_InitializationComplete)) { |
4895 | strcpy(card->shortname, "Hammerfall DSP"); | ||
4902 | sprintf(card->longname, "%s at 0x%lx, irq %d", hdsp->card_name, | 4896 | sprintf(card->longname, "%s at 0x%lx, irq %d", hdsp->card_name, |
4903 | hdsp->port, hdsp->irq); | 4897 | hdsp->port, hdsp->irq); |
4904 | 4898 | ||
@@ -5222,6 +5216,7 @@ static void __devexit snd_hdsp_remove(struct pci_dev *pci) | |||
5222 | 5216 | ||
5223 | static struct pci_driver driver = { | 5217 | static struct pci_driver driver = { |
5224 | .name = "RME Hammerfall DSP", | 5218 | .name = "RME Hammerfall DSP", |
5219 | .owner = THIS_MODULE, | ||
5225 | .id_table = snd_hdsp_ids, | 5220 | .id_table = snd_hdsp_ids, |
5226 | .probe = snd_hdsp_probe, | 5221 | .probe = snd_hdsp_probe, |
5227 | .remove = __devexit_p(snd_hdsp_remove), | 5222 | .remove = __devexit_p(snd_hdsp_remove), |