summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-02-02 13:01:25 +0900
committerPaul Mundt <lethal@linux-sh.org>2010-02-02 13:01:25 +0900
commitb79c7adf82e8b8a6d6ad1dadf7e687a4a030cf8c (patch)
tree115e36ec79cc6484303d26a04333617b793b2915 /include
parent9d3f1881abeae0494a27716b08fcf2d3264bb0fa (diff)
downloadop-kernel-dev-b79c7adf82e8b8a6d6ad1dadf7e687a4a030cf8c.zip
op-kernel-dev-b79c7adf82e8b8a6d6ad1dadf7e687a4a030cf8c.tar.gz
mtd: trivial sh_flctl changes
This patch contains a few changes for the sh_flctl driver: - not sh7723-only driver - get rid of kconfig dependency - use dev_err() instead of printk() - use __devinit and __devexit for probe()/remove() - fix probe() return values Signed-off-by: Magnus Damm <damm@opensource.se> Acked-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mtd/sh_flctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/sh_flctl.h b/include/linux/mtd/sh_flctl.h
index e77c1ce..164c9d4 100644
--- a/include/linux/mtd/sh_flctl.h
+++ b/include/linux/mtd/sh_flctl.h
@@ -96,6 +96,7 @@
struct sh_flctl {
struct mtd_info mtd;
struct nand_chip chip;
+ struct platform_device *pdev;
void __iomem *reg;
uint8_t done_buff[2048 + 64]; /* max size 2048 + 64 */
OpenPOWER on IntegriCloud