[PATCH v2] mtd: mark devname argument of add_mtd_device as const

Marc Kleine-Budde mkl at pengutronix.de
Fri Jul 3 02:49:18 PDT 2015


On 07/03/2015 11:44 AM, Sascha Hauer wrote:
> On Fri, Jul 03, 2015 at 09:51:47AM +0200, Marc Kleine-Budde wrote:
>> 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.
> 
> Not necessary. It's already included as:

Okay. sorry for the noise. :)

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/b3202726/attachment-0001.sig>


More information about the barebox mailing list