tosa_udc_use_gpio_vbus.patch: fix patch hunk only, retain mail header.
authorJunqian Gordon Xu <xjqian@gmail.com>
Sun, 9 Dec 2007 22:08:21 +0000 (22:08 +0000)
committerJunqian Gordon Xu <xjqian@gmail.com>
Sun, 9 Dec 2007 22:08:21 +0000 (22:08 +0000)
packages/linux/linux-rp-2.6.23/tosa_udc_use_gpio_vbus.patch

index 12ef2e4..ca98926 100644 (file)
@@ -74,7 +74,7 @@ Index: linux-test/arch/arm/mach-pxa/tosa.c
 ===================================================================
 --- linux-test.orig/arch/arm/mach-pxa/tosa.c   2007-12-06 12:43:04.301350179 +0300
 +++ linux-test/arch/arm/mach-pxa/tosa.c        2007-12-06 12:47:50.881381650 +0300
-@@ -165,14 +165,10 @@ static void tosa_udc_command(int cmd)
+@@ -165,15 +165,10 @@ static void tosa_udc_command(int cmd)
        }
  }
  
@@ -82,6 +82,7 @@ Index: linux-test/arch/arm/mach-pxa/tosa.c
 -{
 -      return ((GPLR(TOSA_GPIO_USB_IN) & GPIO_bit(TOSA_GPIO_USB_IN)) == 0);
 -}
+-
 -
  static struct pxa2xx_udc_mach_info udc_info __initdata = {
        .udc_command            = tosa_udc_command,