aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/jack.h
blob: 95f9c4d623a8630c47fad5f84f7101360281773b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 *  Copyright (C) 2009 Samsung Electronics
 *  Minkyu Kang <mk7.kang@samsung.com>
 *
 * 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 __JACK_H_
#define __JACK_H_

struct jack_platform_data {
	int usb_online;
	int charger_online;
	int hdmi_online;
	int earjack_online;
	int earkey_online;
	int ums_online;
	int cdrom_online;
	int jig_online;
	int host_online;
	int cradle_online;
};

int jack_get_data(const char *name);
void jack_event_handler(const char *name, int value);

#endif