From patchwork Wed Nov 26 23:07:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Beniamino Galvani X-Patchwork-Id: 5389681 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 5ECFAC11AC for ; Wed, 26 Nov 2014 23:10:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9624A2020E for ; Wed, 26 Nov 2014 23:10:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CF24B201FA for ; Wed, 26 Nov 2014 23:10:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753994AbaKZXKb (ORCPT ); Wed, 26 Nov 2014 18:10:31 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:34785 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753993AbaKZXK2 (ORCPT ); Wed, 26 Nov 2014 18:10:28 -0500 Received: by mail-wi0-f169.google.com with SMTP id r20so16764324wiv.2 for ; Wed, 26 Nov 2014 15:10:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=4M0OprZArkewIy2B27oBFHF8uSAN7MiPWoWTmGGB3V8=; b=vax7sO8J65xE7tyHHorOqKNcRofeI72a+l4J3KogdVqOgZs/txL+houa4tz+i/8y54 6cmbSMlb3w7rdOzc+ki4hKs6ascYjeo03hSvfCXv3arxrCfKaK5zZFi9g/uYrZpaEpr1 YmJCKGaMdGlZEqfZbMNLF70UG7kNu7B9Z0Nt+pXmpLkilBTtjfShXVFnoduDPXZXZIE2 1S9TP774doT6yxzX43sCf/tOWpqGOet761NyY53iGjE+TRmimNcu+FN0BQO5/2iMKmzC 4AFlJbcu4/+TGn9LZY3SEJu2wtPaJoX7M++2zRDzl/ERsRJSB47GpeVPH3JCrpcxmFJP DlUA== X-Received: by 10.194.241.194 with SMTP id wk2mr52638861wjc.132.1417043427791; Wed, 26 Nov 2014 15:10:27 -0800 (PST) Received: from sark.local (host89-99-dynamic.6-79-r.retail.telecomitalia.it. [79.6.99.89]) by mx.google.com with ESMTPSA id cz3sm8222668wjb.23.2014.11.26.15.10.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Nov 2014 15:10:26 -0800 (PST) From: Beniamino Galvani To: Mark Brown Cc: linux-spi@vger.kernel.org, Jim Davis , Beniamino Galvani Subject: [PATCH] spi: meson: Select REGMAP_MMIO Date: Thu, 27 Nov 2014 00:07:48 +0100 Message-Id: <1417043268-17563-1-git-send-email-b.galvani@gmail.com> X-Mailer: git-send-email 1.9.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.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, 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 Meson SPIFC driver uses regmap mmio functions and so it must select REGMAP_MMIO to avoid the following build error: spi-meson-spifc.c: undefined reference to `devm_regmap_init_mmio_clk' Reported-by: Jim Davis Signed-off-by: Beniamino Galvani --- drivers/spi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 0373c37..400c344 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -311,6 +311,7 @@ config SPI_FSL_ESPI config SPI_MESON_SPIFC tristate "Amlogic Meson SPIFC controller" depends on ARCH_MESON || COMPILE_TEST + select REGMAP_MMIO help This enables master mode support for the SPIFC (SPI flash controller) available in Amlogic Meson SoCs.