From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pl0-x242.google.com ([2607:f8b0:400e:c01::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fTLk3-0000Fi-Lr for barebox@lists.infradead.org; Thu, 14 Jun 2018 06:28:23 +0000 Received: by mail-pl0-x242.google.com with SMTP id f1-v6so2941093plt.6 for ; Wed, 13 Jun 2018 23:28:09 -0700 (PDT) From: Andrey Smirnov Date: Wed, 13 Jun 2018 23:27:42 -0700 Message-Id: <20180614062751.29856-2-andrew.smirnov@gmail.com> In-Reply-To: <20180614062751.29856-1-andrew.smirnov@gmail.com> References: <20180614062751.29856-1-andrew.smirnov@gmail.com> 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 v6 01/10] ARM: i.MX: ocotp: Provide missing .format_mac for i.MX8MQ To: barebox@lists.infradead.org Cc: Andrey Smirnov From: Sascha Hauer Provide missing .format_mac for i.MX8MQ to prevent driver from crashing on start. Signed-off-by: Andrey Smirnov --- drivers/nvmem/ocotp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/nvmem/ocotp.c b/drivers/nvmem/ocotp.c index f3af8620e..c2d2982ee 100644 --- a/drivers/nvmem/ocotp.c +++ b/drivers/nvmem/ocotp.c @@ -652,6 +652,7 @@ static struct imx_ocotp_data imx8mq_ocotp_data = { .addr_to_offset = imx6sl_addr_to_offset, .mac_offsets_num = 1, .mac_offsets = { 0x90 }, + .format_mac = imx_ocotp_format_mac, }; static __maybe_unused struct of_device_id imx_ocotp_dt_ids[] = { -- 2.17.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox