Hi Andrew,
I was really excited to find this article and tried to use your patch
on Sprint CDMA HTC HERO kernel source. Looks like the patch is giving
some errors..
-----------------------------------------------------------------------------------------------------------
xx...@xxxxx-desktop:~/myandroid/heroc_ef05d31a$ patch -p1 -i /home/
xxxxx/Downloads/android-msm-2.6.27-hero-v10.patch
patching file arch/arm/mach-msm/devices.c
Hunk #1 succeeded at 166 (offset 8 lines).
Hunk #2 succeeded at 236 (offset 8 lines).
Hunk #3 FAILED at 252.
Hunk #4 succeeded at 1218 (offset 91 lines).
Hunk #5 succeeded at 1229 (offset 91 lines).
1 out of 5 hunks FAILED -- saving rejects to file arch/arm/mach-msm/
devices.c.rej
patching file arch/arm/mach-msm/htc_battery.c
Hunk #4 succeeded at 1242 (offset 6 lines).
patching file drivers/usb/Kconfig
patching file drivers/usb/host/Kconfig
patching file drivers/usb/host/ehci-hcd.c
patching file drivers/usb/host/ehci-msm7201.c
patching file drivers/usb/host/ehci-msm7201.h
----------------------------------------------------------------------------------------------------------
copy of devices.c.rej
----------------------------------------------------------------------------------------------------------
*************** struct msm_hsusb_platform_data msm_hsusb_pdata = {
*** 249,254 ****
        .num_functions = ARRAY_SIZE(usb_functions),
        .products = usb_products,
        .num_products = ARRAY_SIZE(usb_products),
  };

  static struct resource resources_hsusb[] = {
--- 252,258 ----
        .num_functions = ARRAY_SIZE(usb_functions),
        .products = usb_products,
        .num_products = ARRAY_SIZE(usb_products),
+ #endif
  };

  static struct resource resources_hsusb[] = {
-----------------------------------------------------------------------------------------------------------
Do you think that something in the patch needs to be changed  for it
to work on CDMA HTC HERO .
Will greatly appreciate any help/suggestion in this case.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to