diff options
Diffstat (limited to 'include/linux/jack.h')
-rw-r--r-- | include/linux/jack.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/linux/jack.h b/include/linux/jack.h new file mode 100644 index 0000000..95f9c4d --- /dev/null +++ b/include/linux/jack.h @@ -0,0 +1,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 |