|
@@ -351,7 +351,7 @@ sa1100_setup_mtd(struct platform_device *pdev, struct flash_platform_data *plat)
|
|
|
|
|
|
static const char *part_probes[] = { "cmdlinepart", "RedBoot", NULL };
|
|
static const char *part_probes[] = { "cmdlinepart", "RedBoot", NULL };
|
|
|
|
|
|
-static int __init sa1100_mtd_probe(struct platform_device *pdev)
|
|
|
|
|
|
+static int __devinit sa1100_mtd_probe(struct platform_device *pdev)
|
|
{
|
|
{
|
|
struct flash_platform_data *plat = pdev->dev.platform_data;
|
|
struct flash_platform_data *plat = pdev->dev.platform_data;
|
|
struct mtd_partition *parts;
|
|
struct mtd_partition *parts;
|