[PATCH] pcmcia: make Open Firmware device id constant

Wolfram Sang w.sang at pengutronix.de
Tue Jan 12 04:07:41 EST 2010


On Tue, Jan 12, 2010 at 08:56:13AM +0100, Németh Márton wrote:
> From: Márton Németh <nm127 at freemail.hu>
> 
> The match_table field of the struct of_device_id is constant in <linux/of_platform.h>
> so it is worth to make the initialization data also constant.
[...]
> Signed-off-by: Márton Németh <nm127 at freemail.hu>
> Cc: Julia Lawall <julia at diku.dk>
> Cc: cocci at diku.dk

Acked-by: Wolfram Sang <w.sang at pengutronix.de>

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-pcmcia/attachments/20100112/0b6c1bb6/attachment.sig>


More information about the linux-pcmcia mailing list