From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1egRZQ-00076b-Hz for barebox@lists.infradead.org; Tue, 30 Jan 2018 08:47:15 +0000 From: Sascha Hauer Date: Tue, 30 Jan 2018 09:46:57 +0100 Message-Id: <20180130084657.31943-7-s.hauer@pengutronix.de> In-Reply-To: <20180130084657.31943-1-s.hauer@pengutronix.de> References: <20180130084657.31943-1-s.hauer@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 6/6] ARM: am33xx: bbu: Make pointers to image const To: Barebox List Signed-off-by: Sascha Hauer --- arch/arm/mach-omap/am33xx_bbu_spi_mlo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap/am33xx_bbu_spi_mlo.c b/arch/arm/mach-omap/am33xx_bbu_spi_mlo.c index 69a73ffb06..03477dbaf1 100644 --- a/arch/arm/mach-omap/am33xx_bbu_spi_mlo.c +++ b/arch/arm/mach-omap/am33xx_bbu_spi_mlo.c @@ -32,8 +32,8 @@ static int spi_nor_mlo_handler(struct bbu_handler *handler, int ret = 0; uint32_t readbuf; int size = data->len; - void *image = data->image; - uint32_t *header; + const void *image = data->image; + const uint32_t *header; int swap = 0; struct stat s; -- 2.15.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox