Commit 5760b62a authored by Jaroslav Kysela's avatar Jaroslav Kysela

[ALSA] Fix compile warning (make inline)

AZT3328 driver
Fixed compile warning when built without joystick support.
(Optimized via inline.)
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent a83c8170
...@@ -214,12 +214,12 @@ static struct pci_device_id snd_azf3328_ids[] = { ...@@ -214,12 +214,12 @@ static struct pci_device_id snd_azf3328_ids[] = {
MODULE_DEVICE_TABLE(pci, snd_azf3328_ids); MODULE_DEVICE_TABLE(pci, snd_azf3328_ids);
static void snd_azf3328_io2_write(azf3328_t *chip, int reg, unsigned char value) static inline void snd_azf3328_io2_write(azf3328_t *chip, int reg, unsigned char value)
{ {
outb(value, chip->io2_port + reg); outb(value, chip->io2_port + reg);
} }
static unsigned char snd_azf3328_io2_read(azf3328_t *chip, int reg) static inline unsigned char snd_azf3328_io2_read(azf3328_t *chip, int reg)
{ {
return inb(chip->io2_port + reg); return inb(chip->io2_port + reg);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment