[PATCH v2] mtd: mark devname argument of add_mtd_device as const
Marc Kleine-Budde
mkl at pengutronix.de
Fri Jul 3 00:51:47 PDT 2015
On 07/03/2015 09:49 AM, Marc Kleine-Budde wrote:
> This patch fixes the following warning:
>
> | drivers/mtd/devices/m25p80.c: In function 'm25p_probe':
> | drivers/mtd/devices/m25p80.c:271:14: warning: assignment discards 'const' qualifier from pointer target type
> | flash_name = dev->id_entry->name;
> | ^
>
> Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
This patch applies to master. I can rebase it to -next if needed.
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20150703/fe3b365d/attachment.sig>
More information about the barebox
mailing list