Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jun 17th, 2013  |  syntax: Diff  |  size: 0.54 KB  |  views: 34  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. commit b0b485677fbf1af1ef7875aa7d665449ff67cfae
  2. Author: Roman Yepishev <roman.yepishev@gmail.com>
  3. Date:   Mon Jun 17 20:20:12 2013 +0000
  4.  
  5.     Set ADB product_id on boot
  6.  
  7. diff --git a/drivers/usb/gadget/android.c b/drivers/usb/gadget/android.c
  8. index ed8665a..056be13 100644
  9. --- a/drivers/usb/gadget/android.c
  10. +++ b/drivers/usb/gadget/android.c
  11. @@ -69,7 +69,7 @@ MODULE_VERSION("1.0");
  12.  
  13.  /* product id */
  14.  #ifdef CONFIG_MACH_ACER_A1
  15. -static u16 product_id = 0x3203;
  16. +static u16 product_id = 0x3202;
  17.  #else
  18.  static u16 product_id;
  19.  #endif