From patchwork Fri Jan 15 12:28:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 363607 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp270669jap; Fri, 15 Jan 2021 05:01:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZbl7DaxV3sq4NKni1Gggc9Y0mVdQifSxFYwyIvKXjQlRbF1GewTUTJ/HozW5T/bcZTTVn X-Received: by 2002:a17:907:7289:: with SMTP id dt9mr5707123ejc.446.1610715692030; Fri, 15 Jan 2021 05:01:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610715692; cv=none; d=google.com; s=arc-20160816; b=cDmNmcyW6ai4KET/DuxTH+AwrEVuCdTwrWYODMqog+A3NhX2AVkSJp6fKxgwsVloPU f30q0Xw8cUhYSJuS92O9LaxdZkdh7IdtfXJkhER5vMc6dQ8pssTWSzAfXD4RYxovJ9wR ds96MO3QZ5RnzL+N7BEcAtSmO1crJvVEPTGKLoo9kWWIqzQ63uQDg5NlMBkBqS9Z4TDN LIC/+4Gp3rKkLl7ikShbYfU3kMybDpprcPaU0EwFkBGDsvLB6WV6a07TREJXXgj22QXo 6+/PdQLorcTwUA7e9t73aHGDSFPtNY9pf3HtNB2MifJOvm+xRb7oxkWQDMrMocTFA73A rYIw== 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=8V19FoB/3kYTuImn7NMSRUArBF62snp98xo3FAUqQYE=; b=qtnukP0vMChIrYdldvc/aY49bkcjyxoDE/2ESmybyAp9xJ/nJ7Zu8ToIDYbDNNiv8O G0s2iGXWtjqx3jw795ff1PePCm1E8efwqjM6Ml2ryQKJKEcgKWbdkRl0vOm2haGpZRH3 RcWKCjXlTcdiFLuhfM6tfc8VsUYCTKXBF/maT88y1/UtCCO6PVESasNzXnRKquVw3n7b 6B84NhVAnkavfHBpLLtRtzKTxHi0MGz6PxtuHKjTqVZWkFt5MefLNcvzvSkuUr4OgcYU gwe6SYmxk46HOh3u+VRQ3vE2gCijpDpZb5jZtsRAc6Rdsjb+G81RvuA7nso9LUP4v7QO Kf5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Ytqw9lem; 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 h10si3617200ejj.473.2021.01.15.05.01.31; Fri, 15 Jan 2021 05:01:32 -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=Ytqw9lem; 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 S1733118AbhAOMdX (ORCPT + 13 others); Fri, 15 Jan 2021 07:33:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:39612 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733127AbhAOMdW (ORCPT ); Fri, 15 Jan 2021 07:33:22 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 56C9E23339; Fri, 15 Jan 2021 12:33:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1610713986; bh=fA0KTB++A7mRqnSitYulWdbeN4Ebxk5der3k//c7uXg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ytqw9lemy4Os0n7ED+8ySJSAahUZFVcLcCksPyi0fYbRdPJg0Cqb5/7B3ulXQ6fpg hT7v/6ODqEJgS3mnkNfj4QGwiD6iFGesGGIklGjm9ies/SMG2oWeVNqItdRU9i+P5K ArslJ0p+IsB9F85iDRWJZnDjRNgzA36L8bsVWpCg= 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 4.19 39/43] wan: ds26522: select CONFIG_BITREVERSE Date: Fri, 15 Jan 2021 13:28:09 +0100 Message-Id: <20210115121958.937486533@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210115121957.037407908@linuxfoundation.org> References: <20210115121957.037407908@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 @@ -295,6 +295,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.