]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - include/linux/platform_data/fsa9480.h
2 * Copyright (C) 2010 Samsung Electronics
3 * Minkyu Kang <mk7.kang@samsung.com>
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.
13 #define FSA9480_ATTACHED 1
14 #define FSA9480_DETACHED 0
16 struct 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
);
27 #endif /* _FSA9480_H_ */