diff options
Diffstat (limited to 'drivers/mtd/maps')
-rw-r--r-- | drivers/mtd/maps/Kconfig | 2 | ||||
-rw-r--r-- | drivers/mtd/maps/sa1100-flash.c | 4 | ||||
-rw-r--r-- | drivers/mtd/maps/ts5500_flash.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig index ba801d2c6dcc..e715ae90632f 100644 --- a/drivers/mtd/maps/Kconfig +++ b/drivers/mtd/maps/Kconfig | |||
@@ -242,7 +242,7 @@ config MTD_L440GX | |||
242 | 242 | ||
243 | config MTD_CFI_FLAGADM | 243 | config MTD_CFI_FLAGADM |
244 | tristate "CFI Flash device mapping on FlagaDM" | 244 | tristate "CFI Flash device mapping on FlagaDM" |
245 | depends on 8xx && MTD_CFI | 245 | depends on PPC_8xx && MTD_CFI |
246 | help | 246 | help |
247 | Mapping for the Flaga digital module. If you don't have one, ignore | 247 | Mapping for the Flaga digital module. If you don't have one, ignore |
248 | this setting. | 248 | this setting. |
diff --git a/drivers/mtd/maps/sa1100-flash.c b/drivers/mtd/maps/sa1100-flash.c index ea697202935a..892ad6ac63f2 100644 --- a/drivers/mtd/maps/sa1100-flash.c +++ b/drivers/mtd/maps/sa1100-flash.c | |||
@@ -274,7 +274,7 @@ static int sa1100_mtd_probe(struct platform_device *pdev) | |||
274 | return err; | 274 | return err; |
275 | } | 275 | } |
276 | 276 | ||
277 | static int __exit sa1100_mtd_remove(struct platform_device *pdev) | 277 | static int sa1100_mtd_remove(struct platform_device *pdev) |
278 | { | 278 | { |
279 | struct sa_info *info = platform_get_drvdata(pdev); | 279 | struct sa_info *info = platform_get_drvdata(pdev); |
280 | struct flash_platform_data *plat = dev_get_platdata(&pdev->dev); | 280 | struct flash_platform_data *plat = dev_get_platdata(&pdev->dev); |
@@ -286,7 +286,7 @@ static int __exit sa1100_mtd_remove(struct platform_device *pdev) | |||
286 | 286 | ||
287 | static struct platform_driver sa1100_mtd_driver = { | 287 | static struct platform_driver sa1100_mtd_driver = { |
288 | .probe = sa1100_mtd_probe, | 288 | .probe = sa1100_mtd_probe, |
289 | .remove = __exit_p(sa1100_mtd_remove), | 289 | .remove = sa1100_mtd_remove, |
290 | .driver = { | 290 | .driver = { |
291 | .name = "sa1100-mtd", | 291 | .name = "sa1100-mtd", |
292 | }, | 292 | }, |
diff --git a/drivers/mtd/maps/ts5500_flash.c b/drivers/mtd/maps/ts5500_flash.c index d1d671daf235..9969fedb1f13 100644 --- a/drivers/mtd/maps/ts5500_flash.c +++ b/drivers/mtd/maps/ts5500_flash.c | |||
@@ -117,5 +117,5 @@ module_exit(cleanup_ts5500_map); | |||
117 | 117 | ||
118 | MODULE_LICENSE("GPL"); | 118 | MODULE_LICENSE("GPL"); |
119 | MODULE_AUTHOR("Sean Young <sean@mess.org>"); | 119 | MODULE_AUTHOR("Sean Young <sean@mess.org>"); |
120 | MODULE_DESCRIPTION("MTD map driver for Techology Systems TS-5500 board"); | 120 | MODULE_DESCRIPTION("MTD map driver for Technology Systems TS-5500 board"); |
121 | 121 | ||