PageRenderTime 22ms CodeModel.GetById 20ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/include/linux/platform_data/fsa9480.h

https://bitbucket.org/cyanogenmod/android_kernel_asus_tf300t
C Header | 27 lines | 15 code | 4 blank | 8 comment | 0 complexity | 8ddc6f75c89d11d9e518bb2bba386c16 MD5 | raw file
Possible License(s): LGPL-2.0, AGPL-1.0, GPL-2.0
 1/*
 2 * Copyright (C) 2010 Samsung Electronics
 3 * Minkyu Kang <mk7.kang@samsung.com>
 4 *
 5 * This program is free software; you can redistribute it and/or modify
 6 * it under the terms of the GNU General Public License version 2 as
 7 * published by the Free Software Foundation.
 8 */
 9
10#ifndef _FSA9480_H_
11#define _FSA9480_H_
12
13#define FSA9480_ATTACHED	1
14#define FSA9480_DETACHED	0
15
16struct fsa9480_platform_data {
17	void (*cfg_gpio) (void);
18	void (*usb_cb) (u8 attached);
19	void (*uart_cb) (u8 attached);
20	void (*charger_cb) (u8 attached);
21	void (*jig_cb) (u8 attached);
22	void (*reset_cb) (void);
23	void (*usb_power) (u8 on);
24	int wakeup;
25};
26
27#endif /* _FSA9480_H_ */