aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libftdi/ftdi-eeprom-0.3/ftdi_eeprom-0.3-moko.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-08-06 22:50:34 -0700
committerKhem Raj <raj.khem@gmail.com>2010-08-06 22:50:34 -0700
commit1c514181a40543d5290191b4ce898c35d332b161 (patch)
treed1aefa9a4c15835089db931e5afd0ccd00a2eccf /recipes/libftdi/ftdi-eeprom-0.3/ftdi_eeprom-0.3-moko.patch
parentcbd05a3cc601e15d7be2d8aa6f2bf96526a0bc39 (diff)
downloadopenembedded-1c514181a40543d5290191b4ce898c35d332b161.tar.gz
ftdi_eeprom: Add recipe for version 0.3
* Remove unused patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/libftdi/ftdi-eeprom-0.3/ftdi_eeprom-0.3-moko.patch')
-rw-r--r--recipes/libftdi/ftdi-eeprom-0.3/ftdi_eeprom-0.3-moko.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes/libftdi/ftdi-eeprom-0.3/ftdi_eeprom-0.3-moko.patch b/recipes/libftdi/ftdi-eeprom-0.3/ftdi_eeprom-0.3-moko.patch
new file mode 100644
index 0000000000..9d55760f31
--- /dev/null
+++ b/recipes/libftdi/ftdi-eeprom-0.3/ftdi_eeprom-0.3-moko.patch
@@ -0,0 +1,18 @@
+Index: ftdi_eeprom-0.3/src/main.c
+===================================================================
+--- ftdi_eeprom-0.3.orig/src/main.c 2009-02-16 01:23:28.000000000 -0800
++++ ftdi_eeprom-0.3/src/main.c 2010-08-06 22:47:51.243444000 -0700
+@@ -134,8 +134,11 @@
+
+ i = ftdi_usb_open(&ftdi, 0x0403, 0x6001);
+ if (i != 0) {
+- printf("Error: %s\n", ftdi.error_str);
+- exit (-1);
++ i = ftdi_usb_open(&ftdi, 0x0403, 0x6010);
++ if (i != 0) {
++ printf("Error: %s\n", ftdi.error_str);
++ exit (-1);
++ }
+ }
+ }
+ }