diff options
author | Magnus Damm <damm@opensource.se> | 2010-02-01 23:01:25 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-02-01 23:01:25 -0500 |
commit | b79c7adf82e8b8a6d6ad1dadf7e687a4a030cf8c (patch) | |
tree | 115e36ec79cc6484303d26a04333617b793b2915 /include/linux/mtd | |
parent | 9d3f1881abeae0494a27716b08fcf2d3264bb0fa (diff) |
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/linux/mtd')
-rw-r--r-- | include/linux/mtd/sh_flctl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/sh_flctl.h b/include/linux/mtd/sh_flctl.h index e77c1cea404d..164c9d4013c0 100644 --- a/include/linux/mtd/sh_flctl.h +++ b/include/linux/mtd/sh_flctl.h | |||
@@ -96,6 +96,7 @@ | |||
96 | struct sh_flctl { | 96 | struct sh_flctl { |
97 | struct mtd_info mtd; | 97 | struct mtd_info mtd; |
98 | struct nand_chip chip; | 98 | struct nand_chip chip; |
99 | struct platform_device *pdev; | ||
99 | void __iomem *reg; | 100 | void __iomem *reg; |
100 | 101 | ||
101 | uint8_t done_buff[2048 + 64]; /* max size 2048 + 64 */ | 102 | uint8_t done_buff[2048 + 64]; /* max size 2048 + 64 */ |