From 9a495f6bbbcb294b9926f4ec32e5bbb339395d00 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 8 Dec 2014 12:04:25 +0000 Subject: kernel: refresh patches Signed-off-by: Felix Fietkau SVN-Revision: 43564 --- target/linux/mvebu/patches-3.14/009-add_of_mtd_ecc_helpers.patch | 8 ++++---- .../mvebu/patches-3.14/018-decouple_phy_id_and_address.patch | 6 +++--- target/linux/mvebu/patches-3.14/020-of_fixed_link_phy.patch | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'target/linux/mvebu/patches-3.14') 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 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 +{ + 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 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 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 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 #include #include #include -@@ -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); -- cgit v1.2.3