diff options
Diffstat (limited to '')
| -rw-r--r-- | sound/pci/riptide/riptide.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/sound/pci/riptide/riptide.c b/sound/pci/riptide/riptide.c index b4a8278241b1..6abc2ac8fffb 100644 --- a/sound/pci/riptide/riptide.c +++ b/sound/pci/riptide/riptide.c @@ -508,7 +508,7 @@ static int riptide_reset(struct cmdif *cif, struct snd_riptide *chip);  /*   */ -static DEFINE_PCI_DEVICE_TABLE(snd_riptide_ids) = { +static const struct pci_device_id snd_riptide_ids[] = {  	{ PCI_DEVICE(0x127a, 0x4310) },  	{ PCI_DEVICE(0x127a, 0x4320) },  	{ PCI_DEVICE(0x127a, 0x4330) }, @@ -517,7 +517,7 @@ static DEFINE_PCI_DEVICE_TABLE(snd_riptide_ids) = {  };  #ifdef SUPPORT_JOYSTICK -static DEFINE_PCI_DEVICE_TABLE(snd_riptide_joystick_ids) = { +static const struct pci_device_id snd_riptide_joystick_ids[] = {  	{ PCI_DEVICE(0x127a, 0x4312) },  	{ PCI_DEVICE(0x127a, 0x4322) },  	{ PCI_DEVICE(0x127a, 0x4332) }, @@ -941,7 +941,7 @@ setmixer(struct cmdif *cif, short num, unsigned short rval, unsigned short lval)  	union cmdret rptr = CMDRET_ZERO;  	int i = 0; -	snd_printdd("sent mixer %d: 0x%d 0x%d\n", num, rval, lval); +	snd_printdd("sent mixer %d: 0x%x 0x%x\n", num, rval, lval);  	do {  		SEND_SDGV(cif, num, num, rval, lval);  		SEND_RDGV(cif, num, num, &rptr); @@ -1080,7 +1080,7 @@ getmixer(struct cmdif *cif, short num, unsigned short *rval,  		return -EIO;  	*rval = rptr.retwords[0];  	*lval = rptr.retwords[1]; -	snd_printdd("got mixer %d: 0x%d 0x%d\n", num, *rval, *lval); +	snd_printdd("got mixer %d: 0x%x 0x%x\n", num, *rval, *lval);  	return 0;  } | 
