Re: [PATCH 19/19] sound: Use PCI_VDEVICE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Wed, 24 Jun 2009 22:13:35 -0700,
Joe Perches wrote:
> diff --git a/sound/pci/ens1370.c b/sound/pci/ens1370.c
> index 18f4d1e..d589bbc 100644
> --- a/sound/pci/ens1370.c
> +++ b/sound/pci/ens1370.c
> @@ -445,11 +445,11 @@ static irqreturn_t snd_audiopci_interrupt(int irq, void *dev_id);
>  
>  static struct pci_device_id snd_audiopci_ids[] = {
>  #ifdef CHIP1370
> -	{ 0x1274, 0x5000, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },	/* ES1370 */
> +	{ PCI_VDEVICE(ENSONIQ, 0x5000), 0, },	/* ES1370 */
>  #endif
>  #ifdef CHIP1371
> -	{ 0x1274, 0x1371, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },	/* ES1371 */
> -	{ 0x1274, 0x5880, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },	/* ES1373 - CT5880 */
> +	{ PCI_VDEVICE(ENSONIQ, 0x1371), 0, },	/* ES1371 */
> +	{ PCI_VDEVICE(ENSONIQ, 0x5880), 0, },	/* ES1373 - CT5880 */
>  	{ 0x1102, 0x8938, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },	/* Ectiva EV1938 */

Any reason not to covert this?


thanks,

Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux