diff options
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.30/130-fix-s3c_gpiolib_getchip.patch')
-rw-r--r-- | target/linux/s3c24xx/patches-2.6.30/130-fix-s3c_gpiolib_getchip.patch | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.30/130-fix-s3c_gpiolib_getchip.patch b/target/linux/s3c24xx/patches-2.6.30/130-fix-s3c_gpiolib_getchip.patch deleted file mode 100644 index 9e257bd569..0000000000 --- a/target/linux/s3c24xx/patches-2.6.30/130-fix-s3c_gpiolib_getchip.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/arch/arm/mach-s3c2410/include/mach/gpio-core.h -+++ b/arch/arm/mach-s3c2410/include/mach/gpio-core.h -@@ -28,7 +28,7 @@ static inline struct s3c_gpio_chip *s3c_ - return NULL; - - chip = &s3c24xx_gpios[pin/32]; -- return (S3C2410_GPIO_OFFSET(pin) > chip->chip.ngpio) ? chip : NULL; -+ return (S3C2410_GPIO_OFFSET(pin) < chip->chip.ngpio) ? chip : NULL; - } - - #endif /* __ASM_ARCH_GPIO_CORE_H */ |