summaryrefslogtreecommitdiff
path: root/include/sound/ux500_ab8500_ext.h
blob: 1cc9a74585ca42531740a0e0620df42daf85fa3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (C) ST-Ericsson SA 2010
 *
 * Author: Ola Lilja <ola.o.lilja@stericsson.com>
 *         for ST-Ericsson.
 *
 * License terms:
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as published
 * by the Free Software Foundation.
 */

#ifndef UX500_AB8500_EXT_H
#define UX500_AB8500_EXT_H

#include <linux/mfd/abx500/ab8500-gpadc.h>

int ux500_ab8500_audio_gpadc_measure(struct ab8500_gpadc *gpadc,
			u8 channel, bool mode, int *value);

#endif