return -EBUSY;
}
-inline unsigned char snd_ad1816a_in(ad1816a_t *chip, unsigned char reg)
+static inline unsigned char snd_ad1816a_in(ad1816a_t *chip, unsigned char reg)
{
snd_ad1816a_busy_wait(chip);
return inb(AD1816A_REG(reg));
}
-inline void snd_ad1816a_out(ad1816a_t *chip, unsigned char reg,
+static inline void snd_ad1816a_out(ad1816a_t *chip, unsigned char reg,
unsigned char value)
{
snd_ad1816a_busy_wait(chip);
outb(value, AD1816A_REG(reg));
}
-inline void snd_ad1816a_out_mask(ad1816a_t *chip, unsigned char reg,
+static inline void snd_ad1816a_out_mask(ad1816a_t *chip, unsigned char reg,
unsigned char mask, unsigned char value)
{
snd_ad1816a_out(chip, reg,
.fifo_size = 0,
};
+#if 0 /* not used now */
static int snd_ad1816a_timer_close(snd_timer_t *timer)
{
ad1816a_t *chip = snd_timer_chip(timer);
.start = snd_ad1816a_timer_start,
.stop = snd_ad1816a_timer_stop,
};
+#endif /* not used now */
static int snd_ad1816a_playback_open(snd_pcm_substream_t *substream)
return 0;
}
+#if 0 /* not used now */
static void snd_ad1816a_timer_free(snd_timer_t *timer)
{
ad1816a_t *chip = timer->private_data;
*rtimer = timer;
return 0;
}
+#endif /* not used now */
/*
*