Re: [PATCH 2/2] ALSA sound driver for the AT73C213 DAC using Atmel SSC driver

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

 



On Mon, 16 Jul 2007 17:08:02 +0200Takashi Iwai <tiwai@xxxxxxx> wrote:
> > +struct at73c213_board_info {> > +	int		ssc_id;> > +	struct clk	*dac_clk;> > +	char		shortname[32];> > +};> > +> > +#endif /* __LINUX_SPI_AT73C213_H */  > > Any reason to put this into include/linux?  Are (or will be) there> users of this except for ALSA driver?
This struct contains information about how the sound chip is hooked upon the board, so it needs to be defined in a place where the platformcode can easily find it. Since it's not arch specific, it doesn'tbelong under <asm/...> so <linux/spi/...> seems like a logical choice.
This patch shows how it's meant to be used:
http://avr32linux.org/archives/kernel/2007-July/000124.html
Håvard_______________________________________________Alsa-devel mailing listAlsa-devel@xxxxxxxxxxxxxxxxxxxx://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