summaryrefslogtreecommitdiff
path: root/target/linux/orion/patches/400-fix-section-mismatch-warnings.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-07-20 09:42:14 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2014-07-20 09:42:14 +0000
commite23f27b72d3dc4966ff1a218c4426d96b96366ff (patch)
tree81020927b49ddf325e2fced75e214e6726cb300c /target/linux/orion/patches/400-fix-section-mismatch-warnings.patch
parent08f9168615720e416af7a8904b8ae6291df03c4b (diff)
downloadmtk-20170518-e23f27b72d3dc4966ff1a218c4426d96b96366ff.zip
mtk-20170518-e23f27b72d3dc4966ff1a218c4426d96b96366ff.tar.gz
mtk-20170518-e23f27b72d3dc4966ff1a218c4426d96b96366ff.tar.bz2
orion: Update kernel to 3.10.44
Update the kernel of the orion target to version 3.10.44. Refresh orion config and patches to match the changes in the kernel Tested on WRT350N-v2 device. Signed-off-by: Maarten Bezemer <maarten.bezemer@gmail.com> [run make kernel_oldconfig, fold a01-dt2-fixes-for-3.3.patch into dt2-setup.c, make dt2-setup.c compile, fix harddisk subprofile] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41765
Diffstat (limited to 'target/linux/orion/patches/400-fix-section-mismatch-warnings.patch')
-rw-r--r--target/linux/orion/patches/400-fix-section-mismatch-warnings.patch22
1 files changed, 1 insertions, 21 deletions
diff --git a/target/linux/orion/patches/400-fix-section-mismatch-warnings.patch b/target/linux/orion/patches/400-fix-section-mismatch-warnings.patch
index 84ca91f..f0685d3 100644
--- a/target/linux/orion/patches/400-fix-section-mismatch-warnings.patch
+++ b/target/linux/orion/patches/400-fix-section-mismatch-warnings.patch
@@ -1,6 +1,6 @@
--- a/arch/arm/mach-orion5x/common.c
+++ b/arch/arm/mach-orion5x/common.c
-@@ -192,7 +192,7 @@ void __init orion5x_init_early(void)
+@@ -242,7 +242,7 @@ void orion5x_setup_wins(void)
int orion5x_tclk;
@@ -9,23 +9,3 @@
{
u32 dev, rev;
-@@ -204,7 +204,7 @@ int __init orion5x_find_tclk(void)
- return 166666667;
- }
-
--static void orion5x_timer_init(void)
-+static __init void orion5x_timer_init(void)
- {
- orion5x_tclk = orion5x_find_tclk();
-
---- a/arch/arm/mach-orion5x/addr-map.c
-+++ b/arch/arm/mach-orion5x/addr-map.c
-@@ -76,7 +76,7 @@ static int __init cpu_win_can_remap(cons
- /*
- * Description of the windows needed by the platform code
- */
--static struct __initdata orion_addr_map_cfg addr_map_cfg = {
-+static struct orion_addr_map_cfg addr_map_cfg __initdata = {
- .num_wins = 8,
- .cpu_win_can_remap = cpu_win_can_remap,
- .bridge_virt_base = ORION5X_BRIDGE_VIRT_BASE,