diff options
Diffstat (limited to 'kernel/drivers/mtd/nand/sharpsl.c')
-rw-r--r-- | kernel/drivers/mtd/nand/sharpsl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/mtd/nand/sharpsl.c b/kernel/drivers/mtd/nand/sharpsl.c index 842c47a45..082b60097 100644 --- a/kernel/drivers/mtd/nand/sharpsl.c +++ b/kernel/drivers/mtd/nand/sharpsl.c @@ -144,7 +144,7 @@ static int sharpsl_nand_probe(struct platform_device *pdev) /* Link the private data with the MTD structure */ sharpsl->mtd.priv = this; - sharpsl->mtd.owner = THIS_MODULE; + sharpsl->mtd.dev.parent = &pdev->dev; platform_set_drvdata(pdev, sharpsl); |