From patchwork Mon Oct 8 08:10:06 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: mtd: m25p80: fix missing MTD module owner Date: Sun, 07 Oct 2012 22:10:06 -0000 From: =?utf-8?q?Gr=C3=A9gor_Boirie?= X-Patchwork-Id: 189931 Message-Id: <50728A5E.3020102@parrot.com> To: linux-mtd Cc: marex@denx.de Marek, Sorry about that. I didn't really mean to submit an official patch at first... Nevermind, please find one just below. Regards, gregor --- drivers/mtd/devices/m25p80.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c index 1924d24..06beb3f 100644 --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c @@ -873,6 +873,7 @@ static int __devinit m25p_probe(struct spi_device *spi) else flash->mtd.name = dev_name(&spi->dev); + flash->mtd.owner = THIS_MODULE; flash->mtd.type = MTD_NORFLASH; flash->mtd.writesize = 1; flash->mtd.flags = MTD_CAP_NORFLASH; -- 1.7.4.1