diff options
Diffstat (limited to 'ANDROID_3.4.5/include/asm-generic')
-rw-r--r-- | ANDROID_3.4.5/include/asm-generic/errno.h | 3 | ||||
-rw-r--r-- | ANDROID_3.4.5/include/asm-generic/gpio.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ANDROID_3.4.5/include/asm-generic/errno.h b/ANDROID_3.4.5/include/asm-generic/errno.h index a1331ce5..3b626c3e 100644 --- a/ANDROID_3.4.5/include/asm-generic/errno.h +++ b/ANDROID_3.4.5/include/asm-generic/errno.h @@ -110,4 +110,7 @@ #define EHWPOISON 133 /* Memory page has hardware error */ + +#define NEED_REPLACEMENT 180 /* nand flash data block need replacement */ + #endif diff --git a/ANDROID_3.4.5/include/asm-generic/gpio.h b/ANDROID_3.4.5/include/asm-generic/gpio.h index 5f52690c..70ed842f 100644 --- a/ANDROID_3.4.5/include/asm-generic/gpio.h +++ b/ANDROID_3.4.5/include/asm-generic/gpio.h @@ -152,6 +152,7 @@ extern struct gpio_chip *gpiochip_find(const void *data, */ extern int gpio_request(unsigned gpio, const char *label); extern void gpio_free(unsigned gpio); +extern int gpio_re_enabled(unsigned gpio); extern int gpio_direction_input(unsigned gpio); extern int gpio_direction_output(unsigned gpio, int value); |