[MTD] sharpsl-nand: use platform_data for model-specific values
authorDmitry Baryshkov <dbaryshkov@gmail.com>
Thu, 16 Oct 2008 14:43:48 +0000 (18:43 +0400)
committerDmitry Baryshkov <dbaryshkov@gmail.com>
Wed, 29 Oct 2008 18:06:38 +0000 (21:06 +0300)
commita20c7ab570ffdce1d6f67c7acf8c1c502a3b3839
treea7de81865eb5a227683e2f0ec13434ca3388b413
parentc176d0ca8b775a784e38d8afc7c7b42e8906282d
[MTD] sharpsl-nand: use platform_data for model-specific values

Add platform_data which holds all model-specific values, like badblocks
pattern, oobinfo, partitions.

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
drivers/mtd/nand/sharpsl.c
include/linux/mtd/sharpsl.h [new file with mode: 0644]