ACPI / PM: Check device state before refcounting power resources
[linux-2.6/cjktty.git] / include / sound / sh_dac_audio.h
blobf5deaf1ddb9f71bd67246b7dbb64ff16fa1ffeaf
1 /*
2 * SH_DAC specific configuration, for the dac_audio platform_device
4 * Copyright (C) 2009 Rafael Ignacio Zurita <rizurita@yahoo.com>
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published
8 * by the Free Software Foundation.
9 */
11 #ifndef __INCLUDE_SH_DAC_AUDIO_H
12 #define __INCLUDE_SH_DAC_AUDIO_H
14 struct dac_audio_pdata {
15 int buffer_size;
16 int channel;
17 void (*start)(struct dac_audio_pdata *pd);
18 void (*stop)(struct dac_audio_pdata *pd);
21 #endif /* __INCLUDE_SH_DAC_AUDIO_H */