diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-12-08 12:04:25 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-12-08 12:04:25 +0000 |
commit | 6e4472e69e89aa56ad8c0e6f90415a2b8da36eba (patch) | |
tree | b35c1688c3303eb7f7dff2304798f8eb320812fb /target/linux/mvebu/patches-3.14 | |
parent | a899dbd4e32835b0a1d917479d10e5a2744c273c (diff) | |
download | upstream-6e4472e69e89aa56ad8c0e6f90415a2b8da36eba.tar.gz upstream-6e4472e69e89aa56ad8c0e6f90415a2b8da36eba.tar.bz2 upstream-6e4472e69e89aa56ad8c0e6f90415a2b8da36eba.zip |
kernel: refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43564 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mvebu/patches-3.14')
3 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/mvebu/patches-3.14/009-add_of_mtd_ecc_helpers.patch b/target/linux/mvebu/patches-3.14/009-add_of_mtd_ecc_helpers.patch index d48885f8e3..dd2dc9427d 100644 --- a/target/linux/mvebu/patches-3.14/009-add_of_mtd_ecc_helpers.patch +++ b/target/linux/mvebu/patches-3.14/009-add_of_mtd_ecc_helpers.patch @@ -65,11 +65,10 @@ Signed-off-by: Brian Norris <computersforpeace@gmail.com> int of_get_nand_bus_width(struct device_node *np); bool of_get_nand_on_flash_bbt(struct device_node *np); -@@ -22,6 +24,16 @@ static inline int of_get_nand_ecc_mode(s - { +@@ -23,6 +25,16 @@ static inline int of_get_nand_ecc_mode(s return -ENOSYS; } -+ + +static inline int of_get_nand_ecc_step_size(struct device_node *np) +{ + return -ENOSYS; @@ -79,6 +78,7 @@ Signed-off-by: Brian Norris <computersforpeace@gmail.com> +{ + return -ENOSYS; +} - ++ static inline int of_get_nand_bus_width(struct device_node *np) { + return -ENOSYS; diff --git a/target/linux/mvebu/patches-3.14/018-decouple_phy_id_and_address.patch b/target/linux/mvebu/patches-3.14/018-decouple_phy_id_and_address.patch index 4ab6738a10..9572c78fc8 100644 --- a/target/linux/mvebu/patches-3.14/018-decouple_phy_id_and_address.patch +++ b/target/linux/mvebu/patches-3.14/018-decouple_phy_id_and_address.patch @@ -32,7 +32,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> u16 regs[MII_REGS_NUM]; struct phy_device *phydev; struct fixed_phy_status status; -@@ -104,8 +104,8 @@ static int fixed_phy_update_regs(struct +@@ -104,8 +104,8 @@ static int fixed_phy_update_regs(struct if (fp->status.asym_pause) lpa |= LPA_PAUSE_ASYM; @@ -43,7 +43,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> fp->regs[MII_BMSR] = bmsr; fp->regs[MII_BMCR] = bmcr; -@@ -115,7 +115,7 @@ static int fixed_phy_update_regs(struct +@@ -115,7 +115,7 @@ static int fixed_phy_update_regs(struct return 0; } @@ -88,7 +88,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> struct fixed_phy_status *status) { int ret; -@@ -184,9 +184,9 @@ int fixed_phy_add(unsigned int irq, int +@@ -184,9 +184,9 @@ int fixed_phy_add(unsigned int irq, int memset(fp->regs, 0xFF, sizeof(fp->regs[0]) * MII_REGS_NUM); diff --git a/target/linux/mvebu/patches-3.14/020-of_fixed_link_phy.patch b/target/linux/mvebu/patches-3.14/020-of_fixed_link_phy.patch index 1f68576c91..d1acc65700 100644 --- a/target/linux/mvebu/patches-3.14/020-of_fixed_link_phy.patch +++ b/target/linux/mvebu/patches-3.14/020-of_fixed_link_phy.patch @@ -76,7 +76,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net> #include <linux/of.h> #include <linux/of_irq.h> #include <linux/of_mdio.h> -@@ -280,3 +281,69 @@ struct phy_device *of_phy_attach(struct +@@ -280,3 +281,69 @@ struct phy_device *of_phy_attach(struct return phy_attach_direct(dev, phy, flags, iface) ? NULL : phy; } EXPORT_SYMBOL(of_phy_attach); |