summaryrefslogtreecommitdiff
path: root/target/linux/mediatek/patches-4.4/0056-mtd-add-get-set-of_node-flash_node-helpers.patch
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2016-05-08 21:57:27 +0200
committerJo-Philipp Wich <jo@mein.io>2016-05-10 10:43:17 +0200
commitb062266ad650f5dac98f1e1779f371274c9b2237 (patch)
tree918060945e0f667e48b30748e2c6a4a2a0c1013f /target/linux/mediatek/patches-4.4/0056-mtd-add-get-set-of_node-flash_node-helpers.patch
parenta4571b7631e48e4beea1fe84a09679dfa9f2291a (diff)
downloadmtk-20170518-b062266ad650f5dac98f1e1779f371274c9b2237.zip
mtk-20170518-b062266ad650f5dac98f1e1779f371274c9b2237.tar.gz
mtk-20170518-b062266ad650f5dac98f1e1779f371274c9b2237.tar.bz2
kernel: update kernel 4.4 to version 4.4.9
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/mediatek/patches-4.4/0056-mtd-add-get-set-of_node-flash_node-helpers.patch')
-rw-r--r--target/linux/mediatek/patches-4.4/0056-mtd-add-get-set-of_node-flash_node-helpers.patch15
1 files changed, 3 insertions, 12 deletions
diff --git a/target/linux/mediatek/patches-4.4/0056-mtd-add-get-set-of_node-flash_node-helpers.patch b/target/linux/mediatek/patches-4.4/0056-mtd-add-get-set-of_node-flash_node-helpers.patch
index 02066f8..3b618ac 100644
--- a/target/linux/mediatek/patches-4.4/0056-mtd-add-get-set-of_node-flash_node-helpers.patch
+++ b/target/linux/mediatek/patches-4.4/0056-mtd-add-get-set-of_node-flash_node-helpers.patch
@@ -16,11 +16,9 @@ Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
include/linux/mtd/spi-nor.h | 11 +++++++++++
3 files changed, 33 insertions(+)
-diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
-index f17fa75..cc84923 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
-@@ -254,6 +254,17 @@ struct mtd_info {
+@@ -258,6 +258,17 @@ struct mtd_info {
int usecount;
};
@@ -38,11 +36,9 @@ index f17fa75..cc84923 100644
int mtd_erase(struct mtd_info *mtd, struct erase_info *instr);
int mtd_point(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen,
void **virt, resource_size_t *phys);
-diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
-index 1ded588..3c34ca4 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
-@@ -741,6 +741,17 @@ static inline void nand_set_controller_data(struct nand_chip *chip, void *priv)
+@@ -741,6 +741,17 @@ static inline void nand_set_controller_d
chip->priv = priv;
}
@@ -60,11 +56,9 @@ index 1ded588..3c34ca4 100644
/*
* NAND Flash Manufacturer ID Codes
*/
-diff --git a/include/linux/mtd/spi-nor.h b/include/linux/mtd/spi-nor.h
-index c8723b6..6d991df 100644
--- a/include/linux/mtd/spi-nor.h
+++ b/include/linux/mtd/spi-nor.h
-@@ -185,6 +185,17 @@ struct spi_nor {
+@@ -184,6 +184,17 @@ struct spi_nor {
void *priv;
};
@@ -82,6 +76,3 @@ index c8723b6..6d991df 100644
/**
* spi_nor_scan() - scan the SPI NOR
* @nor: the spi_nor structure
---
-1.7.10.4
-