cpu->dev.id = num;
cpu->dev.bus = &cpu_subsys;
cpu->dev.release = cpu_device_release;
- #ifdef CONFIG_ARCH_HAS_CPU_AUTOPROBE
+ cpu->dev.of_node = of_get_cpu_node(num, NULL);
+ #ifdef CONFIG_HAVE_CPU_AUTOPROBE
cpu->dev.bus->uevent = cpu_uevent;
#endif
error = device_register(&cpu->dev);
the genalloc API. It is supposed to be used for small on-chip SRAM
areas found on many SoCs.
+ config UID_CPUTIME
+ tristate "Per-UID cpu time statistics"
+ depends on PROFILING
+ help
+ Per UID based cpu time statistics exported to /proc/uid_cputime
+
+config 5V_EN
+ bool "5v en power control for otg and hdmi"
+ default y
+ help
+ This driver is control enable 5v power when startup and disable it
+ when suspend and no insert otg. if your board is control this power
+ by a gpio please select it.
+
source "drivers/misc/c2port/Kconfig"
source "drivers/misc/eeprom/Kconfig"
source "drivers/misc/cb710/Kconfig"
obj-$(CONFIG_INTEL_MEI) += mei/
obj-$(CONFIG_VMWARE_VMCI) += vmw_vmci/
obj-$(CONFIG_LATTICE_ECP3_CONFIG) += lattice-ecp3-config.o
+obj-y += inv_mpu/
obj-$(CONFIG_SRAM) += sram.o
+ obj-$(CONFIG_UID_CPUTIME) += uid_cputime.o
+
+obj-$(CONFIG_5V_EN) += 5v_en.o
static const char longname[] = "Gadget Android";
/* Default vendor and product IDs, overridden by userspace */
-#define VENDOR_ID 0x18D1
-#define PRODUCT_ID 0x0001
+#define VENDOR_ID 0x2207
+#define PRODUCT_ID 0x2910
+ /* f_midi configuration */
+ #define MIDI_INPUT_PORTS 1
+ #define MIDI_OUTPUT_PORTS 1
+ #define MIDI_BUFFER_SIZE 256
+ #define MIDI_QUEUE_LENGTH 32
+
struct android_usb_function {
char *name;
void *config;