diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2012-10-14 19:48:02 +0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-10-15 19:53:43 +0200 |
commit | 44a293471a7a2656a1c8562ad23a4b953447dad4 (patch) | |
tree | f4232698135157df0fbb03ba8c27324e23786ba5 /include | |
parent | a8a9542a71cb2c7befeb04a3da2a76f8bb5c4bbe (diff) | |
download | barebox-44a293471a7a2656a1c8562ad23a4b953447dad4.tar.gz barebox-44a293471a7a2656a1c8562ad23a4b953447dad4.tar.xz |
mtd: add dataflash support
from linux 3.6
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/spi/flash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/spi/flash.h b/include/spi/flash.h index fe8d09b41c..c1204e7e61 100644 --- a/include/spi/flash.h +++ b/include/spi/flash.h @@ -19,7 +19,7 @@ struct mtd_partition; * rarely powers of two; and partitions should be sector-aligned. */ struct flash_platform_data { - const char *name; + char *name; struct mtd_partition *parts; unsigned int nr_parts; char *type; |