usb: gadget: g_ffs: Allow to set bmAttributes of configuration
[profile/mobile/platform/kernel/linux-3.10-sc7730.git] / drivers / misc / sim_slot.h
1 #ifdef CONFIG_CHECK_SIMSLOT_COUNT
2
3 #include <linux/proc_fs.h>
4 #include <linux/seq_file.h>
5 #include <linux/i2c-gpio.h>
6 #include <asm/gpio.h>
7
8 /* below values would be change by H/W schematic of each model */
9 #ifdef CONFIG_CHECK_SIMSLOT_COUNT_GPIO
10 #define SIM_SLOT_PIN CONFIG_CHECK_SIMSLOT_COUNT_GPIO
11 #else
12         # CONFIG_CHECK_SIMSLOT_COUNT_GPIO is not defined
13 #endif
14
15 #ifdef CONFIG_MACH_VIVALTO
16 #define SINGLE_SIM_VALUE 1
17 #define DUAL_SIM_VALUE 0
18 #else
19 #define SINGLE_SIM_VALUE 0
20 #define DUAL_SIM_VALUE 1
21 #endif
22
23
24 enum {
25         NO_SIM = 0,
26         SINGLE_SIM,
27         DUAL_SIM,
28         TRIPLE_SIM
29 };
30
31 #endif
32