blob: a51a155b8828fa4a4cadd94f072a2e04820e1320 [file] [log] [blame]
/*
* sound/soc/ambarella_i2s.h
*
* History:
* 2008/03/03 - [Eric Lee] created file
* 2008/04/16 - [Eric Lee] Removed the compiling warning
* 2009/01/22 - [Anthony Ginger] Port to 2.6.28
*
* Copyright (C) 2004-2009, Ambarella, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#ifndef AMBARELLA_I2S_H_
#define AMBARELLA_I2S_H_
struct amb_i2s_priv {
struct ambarella_i2s_controller *controller_info;
struct ambarella_i2s_interface amb_i2s_intf;
u32 clock_reg;
};
int ambarella_i2s_add_controls(struct snd_soc_codec *codec);
#endif /*AMBARELLA_I2S_H_*/