From: Marc Kleine-Budde <mkl@pengutronix.de> Date: 2012-07-13 13:04:28
Hello,
my coworker Uwe just posted a series to make of_device_id.data const [1].
This series changes the users of of_device_id.data to const in the CAN tree.
Marc
[1] http://www.spinics.net/lists/arm-kernel/msg184407.html
Maybe this can be squashed into
30c1e67 (can: flexcan: add hardware controller version support)
(currently in next) together with making fsl_p1010_devtype_data and
fsl_imx6q_devtype_data const?
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Maybe this can be squashed into
30c1e67 (can: flexcan: add hardware controller version support)
(currently in next) together with making fsl_p1010_devtype_data and
fsl_imx6q_devtype_data const?
Squashing is not possible, because it's already in David's tree. If I
mark fsl_p1010_devtype_data and fsl_imx6q_devtype_data as const, I get
these errors:
drivers/net/can/flexcan.c:950: warning: initialization discards
qualifiers from pointer target type
drivers/net/can/flexcan.c:951: warning: initialization discards
qualifiers from pointer target type
In a tree without you proposed patch.
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 |
Maybe this can be squashed into
30c1e67 (can: flexcan: add hardware controller version support)
(currently in next) together with making fsl_p1010_devtype_data and
fsl_imx6q_devtype_data const?
Squashing is not possible, because it's already in David's tree. If I
ok.
mark fsl_p1010_devtype_data and fsl_imx6q_devtype_data as const, I get
these errors:
drivers/net/can/flexcan.c:950: warning: initialization discards
qualifiers from pointer target type
drivers/net/can/flexcan.c:951: warning: initialization discards
qualifiers from pointer target type
In a tree without you proposed patch.
ah, right. My tree is based on v3.5-rc which doesn't have 30c1e67 yet,
so I make a mental note to add the consts when both patches hit
mainline.
Thanks
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Hello,
On Fri, Jul 13, 2012 at 03:04:22PM +0200, Marc Kleine-Budde wrote:
my coworker Uwe just posted a series to make of_device_id.data const [1].
This series changes the users of of_device_id.data to const in the CAN tree.
Acked-by: Uwe Kleine-König <redacted>
Note that even if the series doesn't go in as is (because more users
might need fixing) these two patches by Marc are nice independently of
actually making of_device_id.data const.
Thanks and best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |