From: "Grégor Boirie" <gregor.boirie@parrot.com>
To: linux-mtd <linux-mtd@lists.infradead.org>
Cc: marex@denx.de
Subject: [PATCH] mtd: m25p80: fix missing MTD module owner
Date: Mon, 8 Oct 2012 10:10:06 +0200 [thread overview]
Message-ID: <50728A5E.3020102@parrot.com> (raw)
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
next reply other threads:[~2012-10-08 8:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-08 8:10 Grégor Boirie [this message]
2012-10-08 13:09 ` [PATCH] mtd: m25p80: fix missing MTD module owner Marek Vasut
2012-10-11 10:04 ` Artem Bityutskiy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50728A5E.3020102@parrot.com \
--to=gregor.boirie@parrot.com \
--cc=linux-mtd@lists.infradead.org \
--cc=marex@denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox