diff options
author | Mathias Kresin <dev@kresin.me> | 2017-09-04 23:25:15 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-09-05 08:43:39 +0200 |
commit | 6b06c2fb8ec15faed936cae79f3d6cec2705cac1 (patch) | |
tree | d149fb5780fdc35c21fa7d20df8515b2ba1d7f4b /target/linux/lantiq/patches-4.4/0047-mtd-plat-nand-pass-of-node.patch | |
parent | e0d6f541f731a49d49f59734d1b72b6e05e4ff9b (diff) | |
download | upstream-6b06c2fb8ec15faed936cae79f3d6cec2705cac1.tar.gz upstream-6b06c2fb8ec15faed936cae79f3d6cec2705cac1.tar.bz2 upstream-6b06c2fb8ec15faed936cae79f3d6cec2705cac1.zip |
lantiq: drop kernel 4.4 support
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/patches-4.4/0047-mtd-plat-nand-pass-of-node.patch')
-rw-r--r-- | target/linux/lantiq/patches-4.4/0047-mtd-plat-nand-pass-of-node.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/target/linux/lantiq/patches-4.4/0047-mtd-plat-nand-pass-of-node.patch b/target/linux/lantiq/patches-4.4/0047-mtd-plat-nand-pass-of-node.patch deleted file mode 100644 index f7d22b36f7..0000000000 --- a/target/linux/lantiq/patches-4.4/0047-mtd-plat-nand-pass-of-node.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- a/drivers/mtd/nand/plat_nand.c -+++ b/drivers/mtd/nand/plat_nand.c -@@ -31,6 +31,7 @@ static int plat_nand_probe(struct platfo - { - struct platform_nand_data *pdata = dev_get_platdata(&pdev->dev); - struct mtd_part_parser_data ppdata; -+ struct device_node *np = pdev->dev.of_node; - struct plat_nand_data *data; - struct resource *res; - const char **part_types; -@@ -58,6 +59,7 @@ static int plat_nand_probe(struct platfo - return PTR_ERR(data->io_base); - - data->chip.priv = &data; -+ data->chip.flash_node = np; - data->mtd.priv = &data->chip; - data->mtd.dev.parent = &pdev->dev; - -@@ -105,7 +107,7 @@ static int plat_nand_probe(struct platfo - - part_types = pdata->chip.part_probe_types; - -- ppdata.of_node = pdev->dev.of_node; -+ ppdata.of_node = np; - err = mtd_device_parse_register(&data->mtd, part_types, &ppdata, - pdata->chip.partitions, - pdata->chip.nr_partitions); |