From patchwork Wed Jan 28 13:27:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 5736821 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 331E4BF440 for ; Thu, 29 Jan 2015 03:27:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 703D520165 for ; Thu, 29 Jan 2015 03:27:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A3ED220120 for ; Thu, 29 Jan 2015 03:27:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933079AbbA2D1h (ORCPT ); Wed, 28 Jan 2015 22:27:37 -0500 Received: from mout.kundenserver.de ([212.227.126.187]:59578 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933074AbbA2D1f (ORCPT ); Wed, 28 Jan 2015 22:27:35 -0500 Received: from wuerfel.localnet ([149.172.15.242]) by mrelayeu.kundenserver.de (mreue003) with ESMTPSA (Nemesis) id 0LkUkZ-1Xfkum0U4R-00cSnm; Wed, 28 Jan 2015 14:27:07 +0100 From: Arnd Bergmann To: Mark Brown , linux-samsung-soc@vger.kernel.org Cc: linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] spi: pl08x: do not select S3C64XX_PL080 Date: Wed, 28 Jan 2015 14:27:06 +0100 Message-ID: <2608153.sC21ihDxEF@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1957186.KORYFIrP42@wuerfel> References: <1957186.KORYFIrP42@wuerfel> MIME-Version: 1.0 X-Provags-ID: V03:K0:clgtwOslcsJj+KHGrWgcIXswXYzhLPqiHA4X5T4ejTwZTsMzbJn k8gt52f/o+3ON8bkMI3ae5tXwFhNCQca3lNCVkgj1GHcmH44emFQjkF3cV36pfobY9+SP4O Prry2fvIHhaGdlO2QvwzivxXfvzhiWeZXQZpS6/LhJfIQ76MAQFmXsJZTbeEOh3aodQLx4I M+yxkn38XdoT+xrKoWvog== X-UI-Out-Filterresults: notjunk:1; Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_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 The pl08x driver originally selected S3C64XX_PL080 to avoid having the legacy Samsung DMA interfaces. Those are now gone, so the select is no longer needed, but it now causes problems when CONFIG_DMA_ENGINE is disabled: arch/arm/plat-samsung/built-in.o: In function `s3c64xx_spi0_set_platdata': :(.init.text+0x518): undefined reference to `pl08x_filter_id' This simply removes the 'select' to avoid this problem. Signed-off-by: Arnd Bergmann --- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 9b81b39de54e..7727660e9702 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -470,7 +470,6 @@ config SPI_S3C24XX_FIQ config SPI_S3C64XX tristate "Samsung S3C64XX series type SPI" depends on (PLAT_SAMSUNG || ARCH_EXYNOS) - select S3C64XX_PL080 if ARCH_S3C64XX help SPI driver for Samsung S3C64XX and newer SoCs.