X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Flantiq%2Fpatches-3.2%2F0044-MTD-MIPS-lantiq-use-module_platform_driver-inside-la.patch;h=3a54f4eb5a4029be92f3b895886c7b36364a16df;hb=d1f448b466341c016f19a878b6faf700aa185887;hp=4a093210694ea01a0db31f3dbd06ac02a7d43659;hpb=9250e93065e309842d71711320dba9722802d2ab;p=openwrt.git diff --git a/target/linux/lantiq/patches-3.2/0044-MTD-MIPS-lantiq-use-module_platform_driver-inside-la.patch b/target/linux/lantiq/patches-3.2/0044-MTD-MIPS-lantiq-use-module_platform_driver-inside-la.patch index 4a09321069..3a54f4eb5a 100644 --- a/target/linux/lantiq/patches-3.2/0044-MTD-MIPS-lantiq-use-module_platform_driver-inside-la.patch +++ b/target/linux/lantiq/patches-3.2/0044-MTD-MIPS-lantiq-use-module_platform_driver-inside-la.patch @@ -12,11 +12,9 @@ Cc: linux-mtd@lists.infradead.org drivers/mtd/maps/lantiq-flash.c | 22 +++------------------- 1 files changed, 3 insertions(+), 19 deletions(-) -diff --git a/drivers/mtd/maps/lantiq-flash.c b/drivers/mtd/maps/lantiq-flash.c -index 764d468..b55212c 100644 --- a/drivers/mtd/maps/lantiq-flash.c +++ b/drivers/mtd/maps/lantiq-flash.c -@@ -108,7 +108,7 @@ ltq_copy_to(struct map_info *map, unsigned long to, +@@ -108,7 +108,7 @@ ltq_copy_to(struct map_info *map, unsign spin_unlock_irqrestore(&ebu_lock, flags); } @@ -25,7 +23,7 @@ index 764d468..b55212c 100644 ltq_mtd_probe(struct platform_device *pdev) { struct physmap_flash_data *ltq_mtd_data = dev_get_platdata(&pdev->dev); -@@ -208,6 +208,7 @@ ltq_mtd_remove(struct platform_device *pdev) +@@ -208,6 +208,7 @@ ltq_mtd_remove(struct platform_device *p } static struct platform_driver ltq_mtd_driver = { @@ -33,7 +31,7 @@ index 764d468..b55212c 100644 .remove = __devexit_p(ltq_mtd_remove), .driver = { .name = "ltq_nor", -@@ -215,24 +216,7 @@ static struct platform_driver ltq_mtd_driver = { +@@ -215,24 +216,7 @@ static struct platform_driver ltq_mtd_dr }, }; @@ -59,6 +57,3 @@ index 764d468..b55212c 100644 MODULE_LICENSE("GPL"); MODULE_AUTHOR("John Crispin "); --- -1.7.9.1 -