From patchwork Fri Jan 15 12:28:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 363603 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp267073jap; Fri, 15 Jan 2021 04:56:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJzWXmrwPpuiuIYegk2UDDr5DIAo4b9z88BrA1BPoRJ4kH0ljDGWEJCBFHLy5D6jBGpfnOhv X-Received: by 2002:aa7:d7d8:: with SMTP id e24mr9224357eds.135.1610715275613; Fri, 15 Jan 2021 04:54:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610715275; cv=none; d=google.com; s=arc-20160816; b=Pg3NHSvVtEi66T72BQEpzplGFovaOvzeNrkptUq3J3H/6dVQ1oVv0kTccuxVHrWY0i A4gyu0gbFA8NhCj09DoeAp995VVmhugdZ9x0MZVeIRIFh3qgLIuRKiM5yBouubydUYrz SqzgNgP9ZMw5XKVEdlCZ77QRuvtf3WhyW9QEEqMI15BY8r8vxFtt5grJKXHBMfmrU7o4 /HM0MAgi/8okjCnGs++au4XsF++wrW4FDtxol5Fm0Apzcqb6JG0jm9lNb5DzRteAJPgr gu+VF8ZG6YUG2/siGe2aMSI366yHMCeB2e+3jTWHEFsUiXN/H2aqdsWMMS97rHtfyHYM A1hQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ap0brolEnyOyOzTYuZRZFnLI/fS8jXgM+CnFoL6TjrM=; b=Re9hjwJ7zFFPJzaT2DBTG6pu2sbM0sJLoj/uh9/QQ1v8FlbEiJX1QWSckXPttYVKFP K2vW6hWg7qrt7Dlr3/RkorIPhtHAt+oNUgseDhvGIEKgl5+sinb+plbhViGL6feBX5ng cxl8mXHrdt8P5N/9uWkgmpB+yyfqv8THOsMzJqGCIgMtXuaMMbxUrVJwHpEmpsV4nqSN jR/HEPDul+h4yIdv5MSYf4ahClxTKLk+tyae5I7OmJUKqPys2etcdlQwCllXtpsc1fFf LT9X2ep8watTwRkQMdAHAfbtPi4FTgswtth+p8vf5HG+0LdshwwSvTv4B77Ux/8TuKat VJpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DmJ98PSo; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a5si3624718ejr.334.2021.01.15.04.54.35; Fri, 15 Jan 2021 04:54:35 -0800 (PST) Received-SPF: pass (google.com: domain of stable-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=@linuxfoundation.org header.s=korg header.b=DmJ98PSo; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387699AbhAOMyK (ORCPT + 13 others); Fri, 15 Jan 2021 07:54:10 -0500 Received: from mail.kernel.org ([198.145.29.99]:42316 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729225AbhAOMfg (ORCPT ); Fri, 15 Jan 2021 07:35:36 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6BD122388B; Fri, 15 Jan 2021 12:35:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610714120; bh=OfHwcpKeF5C1319OmThlbPWXSa63NkVHz8FSKR2z9AM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DmJ98PSo1MMsqc3xVaaHWovX2LB19OqEZVcXC04YkOigtfoLdQRIndcXvm2R5lute W0WCb0HJ6sMP42MF0jeE+0cB2jqOAm1BVJ3qISODlVG78To+ikhZYGDmOOZ2lnInaY AVaxDp+HUuW+nS5L5SMJBFE2cWblAZdguRkCdjzM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , "David S. Miller" Subject: [PATCH 5.4 56/62] wan: ds26522: select CONFIG_BITREVERSE Date: Fri, 15 Jan 2021 13:28:18 +0100 Message-Id: <20210115122001.098824242@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210115121958.391610178@linuxfoundation.org> References: <20210115121958.391610178@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Arnd Bergmann commit 69931e11288520c250152180ecf9b6ac5e6e40ed upstream. 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 Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/wan/Kconfig | 1 + 1 file changed, 1 insertion(+) --- 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.