From patchwork Mon Aug 18 15:20:17 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 4737511 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D99729F344 for ; Mon, 18 Aug 2014 15:20:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8C313200E3 for ; Mon, 18 Aug 2014 15:20:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6A9D3200E0 for ; Mon, 18 Aug 2014 15:20:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751665AbaHRPU1 (ORCPT ); Mon, 18 Aug 2014 11:20:27 -0400 Received: from mail-ig0-f172.google.com ([209.85.213.172]:62882 "EHLO mail-ig0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751546AbaHRPU1 (ORCPT ); Mon, 18 Aug 2014 11:20:27 -0400 Received: by mail-ig0-f172.google.com with SMTP id h15so8407247igd.17 for ; Mon, 18 Aug 2014 08:20:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Opm1PelfYrAYOqefd9t7OmUzOFOWr2G+A9dCIk/ERk8=; b=B5na3GZ9miEC0lbIZ9t1jHAbnUR77II4U6p7jLKgRBl06Y7fXOCUZfVWrHEPIOtrE6 +KirKHykuzVYPJg39OV5qRo1mcEv8eCgSC4G5MrToLhcNd/+24gE7NUeQGYL6OmX9hXI UIDeZHIv0uqR5mGCg3oTE4APGvn3KU1ZCpLZSbjLIWEhHJns4w5MrmSXkjdEnA5r6qSg xzn5wgsRq1y9/6VlU9418tJfl+qYUVwg/LTFkUZY8OzFpKx9oT8rdyxrl8hv2oRE7Rq1 bu158psPLa6DcO8mJZDz5DfJkzY8cqubPZLgRD2D6xxJYf3n7EbI3Rv8UgZ3DPZAh8Ti xRlQ== X-Gm-Message-State: ALoCoQlXIPYKh9vzI8mTKq0mjtapQKym4Njot2QtJ6lo5LKGJmjXB8sCSBB5t5Zg4C0e5KKFQvaD X-Received: by 10.50.88.37 with SMTP id bd5mr15030200igb.1.1408375226325; Mon, 18 Aug 2014 08:20:26 -0700 (PDT) Received: from localhost.localdomain (sheratonips140.s.subnet.rcn.com. [216.80.64.139]) by mx.google.com with ESMTPSA id p5sm45036250iga.9.2014.08.18.08.20.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Aug 2014 08:20:25 -0700 (PDT) From: Linus Walleij To: linux-mmc@vger.kernel.org, Chris Ball , Ulf Hansson Cc: linux-gpio@vger.kernel.org, Linus Walleij Subject: [PATCH] mmc: select GPIOLIB for MMC support Date: Mon, 18 Aug 2014 10:20:17 -0500 Message-Id: <1408375217-20500-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.9.3 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@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 The slot-gpio support has been compiled into the core for some time, and it basically requires GPIOLIB to be present, very few systems are using the archaic GPIO API (just defined function names) and those should be migrated to GPIOLIB anyway. The rewrite to use GPIO descriptors require that we enable GPIOLIB, so make CONFIG_MMC select CONFIG_GPIOLIB. Signed-off-by: Linus Walleij --- drivers/mmc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index f2eeb38efa65..bf44002793c4 100644 --- a/drivers/mmc/Kconfig +++ b/drivers/mmc/Kconfig @@ -5,6 +5,7 @@ menuconfig MMC tristate "MMC/SD/SDIO card support" depends on HAS_IOMEM + select GPIOLIB help This selects MultiMediaCard, Secure Digital and Secure Digital I/O support.