From patchwork Sun Jan 3 21:36:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 356165 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp14484670jai; Sun, 3 Jan 2021 13:40:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJz+KRTZZ6GWYuuRQP8kpNSLbNb8MDkIUCra0M84aoHfkFb/JB3oeWThdyNwx5Z4i8jxMadd X-Received: by 2002:a05:6402:3192:: with SMTP id di18mr66970258edb.332.1609710023778; Sun, 03 Jan 2021 13:40:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609710023; cv=none; d=google.com; s=arc-20160816; b=XFDP+YrCXgxqaL81lKXEaHNR2oz26bakpv+yC6rJOO112X4/tIi6dmdlwsr3oUlO9a SGxf2NH8LDMI1Ie41dDrXUriIAtUQAOv0eBHg8D6GBbQfQ+t0KUtbio/9mKbNHDW+pkk qsJ+47pxpPNe30tusqSowMGHxpYvxQuruk6tNOcQyxVNFtMCEl8Ahl8vfh4hMfQPGYTR zphIyIOL7fhJGVQiruuL1FqRQO1ymXjqvA6g0kudo1M023T58CQwWfwVW7x+uIGWzI9U oHEiYv1KjKVCveWAlUHi8AzUNoPX8CbrryklTl0YCBox/Pt3zzJYozuZ1ZK66zVAtI8g qiPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=r/2IEpGT3QUTosVtpSTbB5Tvzq8EIVK6aBJong+fj28=; b=UQ5/yUUgaPWXv8iY2yiuTO3xfo09i8Hu+c16bFvysRQmCtqstFrDQxjUlw2XnJZ0/y 9zZF64twCG7oguywix939GYiNdJBA8wscza1iwrguGJylD1t+qAjxR064AZv7JTBfy1Q 7lB+dA7hnZkp/DZ+7+OutF4/WwS1o4YB2FvAtoDWEp6g4K5BVtSYauMrw2OxRQNCPebK H+jhaxxyatw2GGY6rizX6t8tvfbAs0rLzJDiuKAK58yNg+vtCiC/51GngRf7ibb01Hw9 jXSWUG9UVtDB5oqHr0S970qxW5s5x8tkzCRsoqC+SQSMtVr1vCyRrnnMfw3d+Vlf1xAx sWoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aLnGyxrE; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c10si26875716ejf.281.2021.01.03.13.40.23; Sun, 03 Jan 2021 13:40:23 -0800 (PST) Received-SPF: pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aLnGyxrE; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727884AbhACVkI (ORCPT + 8 others); Sun, 3 Jan 2021 16:40:08 -0500 Received: from mail.kernel.org ([198.145.29.99]:37216 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727417AbhACVkI (ORCPT ); Sun, 3 Jan 2021 16:40:08 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id F2C3B206A1; Sun, 3 Jan 2021 21:39:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609709967; bh=5Au9bstUkpXNeP9+yq4BsAUB++A4J8/hr2nJtbd9aHg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aLnGyxrEsyNIV3LDmoJ0vYKPk5kaNyFAgwd58w/NiO1Nlh9L22hmZ53F4iwe+zLPv hNEmwWrBROW8IANEGCsB4KRUJYeyLhqrUPnEW0U2K9iP4ySHe3TL57gQBiBJomE4lI iXqm5fV6xHy/oENhYPZYvSaHBn/bKv4ezZbFhCmrkKPzhbrbfkoNkiYL8MnpHJXOnm yl3DheYvArYLoZnJO7G5INwzDcHELiHB1OACr8K7+oSsoOCI9I2cl4UvCDer+jl2d3 Li91rmqUN+4CaXRXAjOZ1iQkNokFXZyRnKuTbl+4s9T0LqDIc50ur/4340a1HRoWzn HTcCcHxvQLkmA== From: Arnd Bergmann To: "David S. Miller" , Jakub Kicinski , Zhao Qiang Cc: Arnd Bergmann , Xie He , Masahiro Yamada , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 7/7] wan: ds26522: select CONFIG_BITREVERSE Date: Sun, 3 Jan 2021 22:36:23 +0100 Message-Id: <20210103213645.1994783-7-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210103213645.1994783-1-arnd@kernel.org> References: <20210103213645.1994783-1-arnd@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Arnd Bergmann Without this, the driver runs into a link failure arm-linux-gnueabi-ld: drivers/net/wan/slic_ds26522.o: in function `slic_ds26522_probe': slic_ds26522.c:(.text+0x100c): undefined reference to `byte_rev_table' arm-linux-gnueabi-ld: slic_ds26522.c:(.text+0x1cdc): undefined reference to `byte_rev_table' arm-linux-gnueabi-ld: drivers/net/wan/slic_ds26522.o: in function `slic_write': slic_ds26522.c:(.text+0x1e4c): undefined reference to `byte_rev_table' Fixes: c37d4a0085c5 ("Maxim/driver: Add driver for maxim ds26522") Signed-off-by: Arnd Bergmann --- drivers/net/wan/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.29.2 diff --git a/drivers/net/wan/Kconfig b/drivers/net/wan/Kconfig index 8931ef529065..a187c814a4a6 100644 --- a/drivers/net/wan/Kconfig +++ b/drivers/net/wan/Kconfig @@ -282,6 +282,7 @@ config SLIC_DS26522 tristate "Slic Maxim ds26522 card support" depends on SPI depends on FSL_SOC || ARCH_MXC || ARCH_LAYERSCAPE || COMPILE_TEST + select BITREVERSE help This module initializes and configures the slic maxim card in T1 or E1 mode.