diff options
author | codeworkx <daniel.hillenbrand@codeworkx.de> | 2012-06-02 13:09:29 +0200 |
---|---|---|
committer | codeworkx <daniel.hillenbrand@codeworkx.de> | 2012-06-02 13:09:29 +0200 |
commit | c6da2cfeb05178a11c6d062a06f8078150ee492f (patch) | |
tree | f3b4021d252c52d6463a9b3c1bb7245e399b009c /include/linux/mfd/mc1n2_pdata.h | |
parent | c6d7c4dbff353eac7919342ae6b3299a378160a6 (diff) | |
download | kernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.zip kernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.tar.gz kernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.tar.bz2 |
samsung update 1
Diffstat (limited to 'include/linux/mfd/mc1n2_pdata.h')
-rw-r--r-- | include/linux/mfd/mc1n2_pdata.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/linux/mfd/mc1n2_pdata.h b/include/linux/mfd/mc1n2_pdata.h new file mode 100644 index 0000000..fe67db4 --- /dev/null +++ b/include/linux/mfd/mc1n2_pdata.h @@ -0,0 +1,29 @@ + /* + * Copyright (C) 2008 Samsung Electronics, Inc. + * + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + * may be copied, distributed, and modified under those terms. + * + * 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. + * + */ + +#ifndef __S5PC210_MC1N2_H +#define __S5PC210_MC1N2_H + +enum mic_type { + MAIN_MIC = 0x1, + SUB_MIC = 0x2, +}; + +struct mc1n2_platform_data { + void (*set_main_mic_bias)(bool on); + void (*set_sub_mic_bias)(bool on); + int (*set_adc_power_constraints)(int disabled); +}; + +#endif |