From patchwork Fri Sep 26 06:18:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 4978731 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 61969BEEA6 for ; Fri, 26 Sep 2014 06:18:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AA000202AE for ; Fri, 26 Sep 2014 06:18:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E6C00202B8 for ; Fri, 26 Sep 2014 06:18:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753902AbaIZGSg (ORCPT ); Fri, 26 Sep 2014 02:18:36 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:39561 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753909AbaIZGSg (ORCPT ); Fri, 26 Sep 2014 02:18:36 -0400 Received: by mail-pa0-f52.google.com with SMTP id fb1so387517pad.25 for ; Thu, 25 Sep 2014 23:18:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:content-type :mime-version:content-transfer-encoding; bh=vqfJtbGOHxA67N4VcujqVu9Qiz8J2awQYGoYuYJlQmo=; b=lG1MImuAcyFPWlV7UminAVc8+DXVQLPQPfHKsRyyQ2QYmzCDhQIajyppUFJnXwjOF3 MWD6T78OHlco38hXTiR/RACf9aVlXUir1/f14m0XOlZPX35O2gJo4d0Oo2s0L/ehmgqG ZJ7BuRKUeNDEi84yH6Q94HBLgMOFhnjQv9M/p1du1BZFQrKYrkm/LTtBTSDdH+BSmdk3 HJuTVZ/cv8m+t1BBb9ykXuEtiU3t7xxedvEighfcAcbLM1Ou1KTINjojsGg95tihpWEe rufiiDipCMY4BiJsA+H6TgyKoJAC3Qm7ah6jtS8uTeqGXk+wx+uKxqtaySeFHEmobsEd ufGg== X-Gm-Message-State: ALoCoQlXM0cGDUWiv08TXEHVzpyKUVJ8bX6R1We/UPCFX0XrM+Txezl8i0Rh/xAAlIfxkbmZcVe7 X-Received: by 10.68.106.162 with SMTP id gv2mr27596646pbb.17.1411712315425; Thu, 25 Sep 2014 23:18:35 -0700 (PDT) Received: from [192.168.0.105] (218-164-30-30.dynamic.hinet.net. [218.164.30.30]) by mx.google.com with ESMTPSA id i12sm3890527pbq.7.2014.09.25.23.18.33 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Thu, 25 Sep 2014 23:18:34 -0700 (PDT) Message-ID: <1411712311.23531.0.camel@phoenix> Subject: [PATCH 1/2] spi: bcm53xx: Fix module dependency From: Axel Lin To: Mark Brown Cc: =?gb2312?Q?Rafa=810=920_Mi=810=920ecki?= , linux-spi Date: Fri, 26 Sep 2014 14:18:31 +0800 X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP config SPI_BCM53XX needs to depend on BCMA_POSSIBLE and select BCMA. This fixes below build error: ERROR: "bcma_driver_unregister" [drivers/spi/spi-bcm53xx.ko] undefined! ERROR: "__bcma_driver_register" [drivers/spi/spi-bcm53xx.ko] undefined! Signed-off-by: Axel Lin --- drivers/spi/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index dc10453..84e7c9e 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -116,6 +116,8 @@ config SPI_AU1550 config SPI_BCM53XX tristate "Broadcom BCM53xx SPI controller" depends on ARCH_BCM_5301X + depends on BCMA_POSSIBLE + select BCMA help Enable support for the SPI controller on Broadcom BCM53xx ARM SoCs.