diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-06-19 11:12:43 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-06-19 11:12:43 +0000 |
commit | 03110a1254dc8ec2564cacb1e8e236412b7822bd (patch) | |
tree | 6917622e0e5f695fd1ef9ea5cd3f811047f9ea27 /target/linux/brcm47xx/patches-4.0/031-09-MIPS-BCM47xx-Add-helper-variable-for-storing-NVRAM-l.patch | |
parent | 657b75acce863c2efbd0ba334473b4c575999448 (diff) | |
download | master-187ad058-03110a1254dc8ec2564cacb1e8e236412b7822bd.tar.gz master-187ad058-03110a1254dc8ec2564cacb1e8e236412b7822bd.tar.bz2 master-187ad058-03110a1254dc8ec2564cacb1e8e236412b7822bd.zip |
kernel: update 4.0 to 4.0.5
Changelog:
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.5
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46063 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-4.0/031-09-MIPS-BCM47xx-Add-helper-variable-for-storing-NVRAM-l.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-4.0/031-09-MIPS-BCM47xx-Add-helper-variable-for-storing-NVRAM-l.patch | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/target/linux/brcm47xx/patches-4.0/031-09-MIPS-BCM47xx-Add-helper-variable-for-storing-NVRAM-l.patch b/target/linux/brcm47xx/patches-4.0/031-09-MIPS-BCM47xx-Add-helper-variable-for-storing-NVRAM-l.patch index ab7ceaa0f3..053144a07d 100644 --- a/target/linux/brcm47xx/patches-4.0/031-09-MIPS-BCM47xx-Add-helper-variable-for-storing-NVRAM-l.patch +++ b/target/linux/brcm47xx/patches-4.0/031-09-MIPS-BCM47xx-Add-helper-variable-for-storing-NVRAM-l.patch @@ -24,8 +24,6 @@ Signed-off-by: Ralf Baechle <ralf@linux-mips.org> arch/mips/bcm47xx/nvram.c | 37 ++++++++++++++++--------------------- 1 file changed, 16 insertions(+), 21 deletions(-) -diff --git a/arch/mips/bcm47xx/nvram.c b/arch/mips/bcm47xx/nvram.c -index 2ed762e..9ccdce8 100644 --- a/arch/mips/bcm47xx/nvram.c +++ b/arch/mips/bcm47xx/nvram.c @@ -35,6 +35,7 @@ struct nvram_header { @@ -36,7 +34,7 @@ index 2ed762e..9ccdce8 100644 static const u32 nvram_sizes[] = {0x8000, 0xF000, 0x10000}; static u32 find_nvram_size(void __iomem *end) -@@ -60,7 +61,7 @@ static int nvram_find_and_copy(void __iomem *iobase, u32 lim) +@@ -60,7 +61,7 @@ static int nvram_find_and_copy(void __io u32 *src, *dst; u32 size; @@ -103,7 +101,7 @@ index 2ed762e..9ccdce8 100644 } #endif -@@ -183,7 +180,7 @@ int bcm47xx_nvram_getenv(const char *name, char *val, size_t val_len) +@@ -183,7 +180,7 @@ int bcm47xx_nvram_getenv(const char *nam if (!name) return -EINVAL; @@ -112,7 +110,7 @@ index 2ed762e..9ccdce8 100644 err = nvram_init(); if (err) return err; -@@ -231,16 +228,14 @@ char *bcm47xx_nvram_get_contents(size_t *nvram_size) +@@ -231,16 +228,14 @@ char *bcm47xx_nvram_get_contents(size_t { int err; char *nvram; @@ -131,6 +129,3 @@ index 2ed762e..9ccdce8 100644 nvram = vmalloc(*nvram_size); if (!nvram) return NULL; --- -1.8.4.5 - |