Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13411738pxu; Sun, 3 Jan 2021 13:56:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJxzhtowlb30xi6mlXyQvt5FHi4Mebquwx4Sz7VqRGhsao0HrhleZ3WIstnod/r+4yLvlZ4E X-Received: by 2002:a50:ab59:: with SMTP id t25mr68209314edc.364.1609710986489; Sun, 03 Jan 2021 13:56:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609710986; cv=none; d=google.com; s=arc-20160816; b=tX11ST0ItEfwrbVKbgxFWgtieH/UlnPkvcDSk/QUqp2HkTo752Kuw/gfUFzUAxlfjN 0Q73IorWWhfIdj18nrBX4Uyq3uN71CZnTaDCoWuzAw1FKLnMk3A9RI8C6T9gk+9vS479 8SAbcQT8CiUdWN/cJiFldMnZyeGYpAYJZUcnu7mLN2ZGPuA7p/SFANBOYOlHcpyyOxCm zY24YEs2W8mlojYjrTRLBEdEkRsF9t/QWI8P7m7KzCkFoV+7oaoePB8VyIyU+UW7ZSow begJlBMYNmco9HUcMDV/SLga7eR3KaMuZGi+ZFP/yRId4ZNnO18onB9ioMYP0DVsusxU mSsA== 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=SNj3k73CpQtL4M5L28JmRuz39b6VPYeCQNfz3nwHmG4Y5nd17MhP+7gznHtBMoAI8Z I8HBiLOcknxamHtKKsgnKGRRY8etpU57UUOe79//qu9VmDRjEYOaC8X1LpXqv/gmW8hw upuSrbxkCZukQxcJDjWjGoQ2YRPyEfKQ8cYkbOqNa1p0335eo63ANoO2Dg4VU2kQHi3a d+sNx0/zZEn8BAt6vpokvtHLX6dlEHBsOc1TZ89QoWmenwRu7lmh3iaBBlV+1+jS3kRr 1v4WyJAJecIBGTuRhXnaD7g5KuhLE2UaNK7A2ZR2vH0EscwvqZaAhk6nGNKIkB4KLWWN lyTQ== 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 linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 dr10si26803458ejc.306.2021.01.03.13.56.02; Sun, 03 Jan 2021 13:56:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S1727885AbhACVkI (ORCPT + 99 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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(+) 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. -- 2.29.2