Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1260423

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

From Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH] reset: sunxi: mark the of_device_id array as __initconst
Date 2015-11-02 08:30 +0100
Message-ID <qqhIZ-2rX-1@gated-at.bofh.it> (permalink)
References <qoRxg-6K9-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] reset: sunxi: mark the of_device_id array as __initconst Philipp Zabel <p.zabel@pengutronix.de> - 2015-10-29 10:20 +0100
  Re: [PATCH] reset: sunxi: mark the of_device_id array as __initconst Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-10-30 17:50 +0100
  Re: [PATCH] reset: sunxi: mark the of_device_id array as __initconst Uwe Kleine-König   <u.kleine-koenig@pengutronix.de> - 2015-11-02 08:30 +0100

csiph-web