Re: [PATCH] reset: sunxi: mark the of_device_id array as __initconst

2015-11-01 Thread Uwe Kleine-König
Hello Philipp, On Thu, Oct 29, 2015 at 10:10:17AM +0100, Philipp Zabel wrote: > Since this array is static const, it should be marked as __initconst. independent of your change sunxi_reset_init can be moved to .init.text, too. Best regards Uwe -- Pengutronix e.K. | Uw

Re: [PATCH] reset: sunxi: mark the of_device_id array as __initconst

2015-10-30 Thread Maxime Ripard
On Thu, Oct 29, 2015 at 10:10:17AM +0100, Philipp Zabel wrote: > Since this array is static const, it should be marked as __initconst. > > Signed-off-by: Philipp Zabel Acked-by: Maxime Ripard Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http:

[PATCH] reset: sunxi: mark the of_device_id array as __initconst

2015-10-29 Thread Philipp Zabel
Since this array is static const, it should be marked as __initconst. Signed-off-by: Philipp Zabel --- drivers/reset/reset-sunxi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/reset/reset-sunxi.c b/drivers/reset/reset-sunxi.c index df58e71..58ddb26 100644 --- a/dri