diff options
Diffstat (limited to 'sound/pci/ad1889.c')
| -rw-r--r-- | sound/pci/ad1889.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/pci/ad1889.c b/sound/pci/ad1889.c index f7aef8c9cf43..0786d0edaca5 100644 --- a/sound/pci/ad1889.c +++ b/sound/pci/ad1889.c | |||
| @@ -241,14 +241,14 @@ ad1889_channel_reset(struct snd_ad1889 *chip, unsigned int channel) | |||
| 241 | } | 241 | } |
| 242 | } | 242 | } |
| 243 | 243 | ||
| 244 | static inline u16 | 244 | static u16 |
| 245 | snd_ad1889_ac97_read(struct snd_ac97 *ac97, unsigned short reg) | 245 | snd_ad1889_ac97_read(struct snd_ac97 *ac97, unsigned short reg) |
| 246 | { | 246 | { |
| 247 | struct snd_ad1889 *chip = ac97->private_data; | 247 | struct snd_ad1889 *chip = ac97->private_data; |
| 248 | return ad1889_readw(chip, AD_AC97_BASE + reg); | 248 | return ad1889_readw(chip, AD_AC97_BASE + reg); |
| 249 | } | 249 | } |
| 250 | 250 | ||
| 251 | static inline void | 251 | static void |
| 252 | snd_ad1889_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short val) | 252 | snd_ad1889_ac97_write(struct snd_ac97 *ac97, unsigned short reg, unsigned short val) |
| 253 | { | 253 | { |
| 254 | struct snd_ad1889 *chip = ac97->private_data; | 254 | struct snd_ad1889 *chip = ac97->private_data; |
| @@ -873,7 +873,7 @@ skip_hw: | |||
| 873 | return 0; | 873 | return 0; |
| 874 | } | 874 | } |
| 875 | 875 | ||
| 876 | static inline int | 876 | static int |
| 877 | snd_ad1889_dev_free(struct snd_device *device) | 877 | snd_ad1889_dev_free(struct snd_device *device) |
| 878 | { | 878 | { |
| 879 | struct snd_ad1889 *chip = device->device_data; | 879 | struct snd_ad1889 *chip = device->device_data; |
| @@ -1051,7 +1051,7 @@ snd_ad1889_remove(struct pci_dev *pci) | |||
| 1051 | pci_set_drvdata(pci, NULL); | 1051 | pci_set_drvdata(pci, NULL); |
| 1052 | } | 1052 | } |
| 1053 | 1053 | ||
| 1054 | static struct pci_device_id snd_ad1889_ids[] __devinitdata = { | 1054 | static struct pci_device_id snd_ad1889_ids[] = { |
| 1055 | { PCI_DEVICE(PCI_VENDOR_ID_ANALOG_DEVICES, PCI_DEVICE_ID_AD1889JS) }, | 1055 | { PCI_DEVICE(PCI_VENDOR_ID_ANALOG_DEVICES, PCI_DEVICE_ID_AD1889JS) }, |
| 1056 | { 0, }, | 1056 | { 0, }, |
| 1057 | }; | 1057 | }; |
