summaryrefslogtreecommitdiff
path: root/target/linux/coldfire/patches/103-kernel-2.6.38-Fix-i2c-driver-could-not-work-as-module.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-02-04 15:23:10 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-02-04 15:23:10 +0000
commitb97aee1ee851c6ce0f48e9c231a8152c1151dbe4 (patch)
tree3f5f5e1f2c6c8577ee1388dcec0bf4ba7d7565bd /target/linux/coldfire/patches/103-kernel-2.6.38-Fix-i2c-driver-could-not-work-as-module.patch
parentc41002971aeecd78e93ce553028f7cc01c4de777 (diff)
downloadmtk-20170518-b97aee1ee851c6ce0f48e9c231a8152c1151dbe4.zip
mtk-20170518-b97aee1ee851c6ce0f48e9c231a8152c1151dbe4.tar.gz
mtk-20170518-b97aee1ee851c6ce0f48e9c231a8152c1151dbe4.tar.bz2
coldfire: R.I.P.
The target still uses 2.6.38. The support of that kernel version has been removed ~9 months ago. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35489
Diffstat (limited to 'target/linux/coldfire/patches/103-kernel-2.6.38-Fix-i2c-driver-could-not-work-as-module.patch')
-rw-r--r--target/linux/coldfire/patches/103-kernel-2.6.38-Fix-i2c-driver-could-not-work-as-module.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/target/linux/coldfire/patches/103-kernel-2.6.38-Fix-i2c-driver-could-not-work-as-module.patch b/target/linux/coldfire/patches/103-kernel-2.6.38-Fix-i2c-driver-could-not-work-as-module.patch
deleted file mode 100644
index 8a10ad8..0000000
--- a/target/linux/coldfire/patches/103-kernel-2.6.38-Fix-i2c-driver-could-not-work-as-module.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 358154a6d0dd87305c6af92810220f8a17641c07 Mon Sep 17 00:00:00 2001
-From: Wang Huan <wanghuan@zch06.freescale.net>
-Date: Mon, 8 Aug 2011 10:49:53 +0800
-Subject: [PATCH] Fix i2c driver could not work as module
-
-Signed-off-by: Alison Wang <b18965@freescale.com>
----
- arch/m68k/coldfire/m5445x/devices.c | 4 ++--
- 1 files changed, 2 insertions(+), 2 deletions(-)
-
---- a/arch/m68k/coldfire/m5445x/devices.c
-+++ b/arch/m68k/coldfire/m5445x/devices.c
-@@ -426,7 +426,7 @@ static inline void mcf5445x_init_pata(vo
- /*
- * I2C
- */
--#if defined(CONFIG_I2C)
-+#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
- static struct resource coldfire_i2c_resources[] = {
- { /* I/O */
- .start = 0xFC058000,
-@@ -464,7 +464,7 @@ static int __init mcf5445x_init_devices(
- mcf5445x_init_pata();
- #endif
-
--#if defined(CONFIG_I2C)
-+#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
- mcf5445x_init_i2c();
- #endif
- return 0;