diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/linux/linux-2.6.18/dont-include-map-h-from-physmap-h.patch | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/linux/linux-2.6.18/dont-include-map-h-from-physmap-h.patch')
-rw-r--r-- | recipes/linux/linux-2.6.18/dont-include-map-h-from-physmap-h.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes/linux/linux-2.6.18/dont-include-map-h-from-physmap-h.patch b/recipes/linux/linux-2.6.18/dont-include-map-h-from-physmap-h.patch new file mode 100644 index 0000000000..c7f03f9828 --- /dev/null +++ b/recipes/linux/linux-2.6.18/dont-include-map-h-from-physmap-h.patch @@ -0,0 +1,33 @@ +From 00424e00aeeecfd17ee71918b183e50d07641c5e Mon Sep 17 00:00:00 2001 +From: Haavard Skinnemoen <hskinnemoen@atmel.com> +Date: Wed, 10 Jan 2007 18:55:18 +0100 +Subject: [PATCH] MTD: Don't include map.h from physmap.h + +Replace inclusion of <linux/mtd/map.h> with a forward-declaration of +struct map_info. This is necessary because physmap.h may be included +in platform code and map.h will give errors if MTD isn't enabled. + +Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com> +--- + include/linux/mtd/physmap.h | 3 ++- + 1 files changed, 2 insertions(+), 1 deletions(-) + +diff --git a/include/linux/mtd/physmap.h b/include/linux/mtd/physmap.h +index 86831e3..0dc07d5 100644 +--- a/include/linux/mtd/physmap.h ++++ b/include/linux/mtd/physmap.h +@@ -18,9 +18,10 @@ + #define __LINUX_MTD_PHYSMAP__ + + #include <linux/mtd/mtd.h> +-#include <linux/mtd/map.h> + #include <linux/mtd/partitions.h> + ++struct map_info; ++ + struct physmap_flash_data { + unsigned int width; + void (*set_vpp)(struct map_info *, int); +-- +1.4.4.1 + |