From patchwork Wed Nov 25 13:57:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 57301 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp2752381lbb; Wed, 25 Nov 2015 05:57:47 -0800 (PST) X-Received: by 10.66.162.38 with SMTP id xx6mr51778875pab.57.1448459867153; Wed, 25 Nov 2015 05:57:47 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 7si34559732pfo.215.2015.11.25.05.57.46; Wed, 25 Nov 2015 05:57:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro-org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752992AbbKYN5q (ORCPT + 2 others); Wed, 25 Nov 2015 08:57:46 -0500 Received: from mail-lf0-f41.google.com ([209.85.215.41]:34522 "EHLO mail-lf0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752417AbbKYN5p (ORCPT ); Wed, 25 Nov 2015 08:57:45 -0500 Received: by lffu14 with SMTP id u14so61419972lff.1 for ; Wed, 25 Nov 2015 05:57:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=Ngu3hCJX6vvVZLbjp6mXY4Sxyqz5o5MPcw33ja00pbI=; b=0H/Ib30yB1wZaW3Ct0E4oM3TbjZBhM/AdsnzS1GbxiPP9ekrwQJdbudhMKFh2VtKmM WBvCysOuiIrVE9/b3xeUmlX+jWClYxdcEX1Vk4bX37vGeZH9aXUHZVqR4PhB+iYdOwxb HQFYgPhsQB+u5sYBEPradHRMqoINPbY5iyCa3FUJ0jTGGtBhdMvcDCYd5kEc5c23Fm6s B7g3/D6KeZvVgRud64mTFQw8OnCX392pBxuZNDKzudA4iJYjIpMrA+BjYyr5EWxKRnoQ uurX67cIU5I4/C3bUMahDqz6dMXkKWCyEWJonuPwEk872q6fAfuquUBfFEufkj8d2vDd J9uQ== 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=Ngu3hCJX6vvVZLbjp6mXY4Sxyqz5o5MPcw33ja00pbI=; b=Yx6Ln9+lX91lVMsxroIS1T6whoidmsTLowiuOp8+U7cPHsKOfyR6//fX3dBBk2CCnC q+HOJG1iU9iQdfPHaB0nf93LZvWGkH+zW4UEVRnHMb711oPTJmolia3DNOdJYTohu/Dj 8kQL0BixFiahJB+1ImRIu3NhXNbrLd1DGEJuxJoNdbvMEV1go74/sKh+bCeuT7SqmVy3 EHLqQPxl02esy6pdA8/8WBOWNgN96Ko6FjTFxfLBSKUjsHttSkLCfee2S9o3rvhmvZF/ Yuh5bK5tYbltrc7tMmk98zN5mAl9OyrdE4NEVtJUI6bf9VdjvAWKlP5zqlBI9T3Xg+qT VD9A== X-Gm-Message-State: ALoCoQkjrANUWOnzyHfDrZwaYonrWGtgF9IHe7DdZhPsMOFlIeeGMxych7mXrzYPRFR/Hc8VBN8a X-Received: by 10.25.24.67 with SMTP id o64mr15390440lfi.135.1448459864138; Wed, 25 Nov 2015 05:57:44 -0800 (PST) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id y79sm3338554lfd.45.2015.11.25.05.57.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Nov 2015 05:57:42 -0800 (PST) From: Linus Walleij To: linux-mmc@vger.kernel.org, Chris Ball , Ulf Hansson Cc: Linus Walleij , Nicolas Pitre , Andrew Lunn , Sebastian Hesselbarth Subject: [PATCH 1/2] mmc: mvsdio: delete platform data header Date: Wed, 25 Nov 2015 14:57:31 +0100 Message-Id: <1448459851-32565-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org This platform data struct is only used inside the MVSDIO driver, nowhere else in the entire kernel. Move the struct into the driver and delete the external header. Cc: Nicolas Pitre Cc: Andrew Lunn Cc: Sebastian Hesselbarth Signed-off-by: Linus Walleij --- drivers/mmc/host/mvsdio.c | 7 ++++++- include/linux/platform_data/mmc-mvsdio.h | 18 ------------------ 2 files changed, 6 insertions(+), 19 deletions(-) delete mode 100644 include/linux/platform_data/mmc-mvsdio.h -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" 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/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio.c index a448498e3af2..18c70380ea93 100644 --- a/drivers/mmc/host/mvsdio.c +++ b/drivers/mmc/host/mvsdio.c @@ -28,7 +28,6 @@ #include #include -#include #include "mvsdio.h" @@ -37,6 +36,12 @@ static int maxfreq; static int nodma; +struct mvsdio_platform_data { + unsigned int clock; + int gpio_card_detect; + int gpio_write_protect; +}; + struct mvsd_host { void __iomem *base; struct mmc_request *mrq; diff --git a/include/linux/platform_data/mmc-mvsdio.h b/include/linux/platform_data/mmc-mvsdio.h deleted file mode 100644 index d02704cd3695..000000000000 --- a/include/linux/platform_data/mmc-mvsdio.h +++ /dev/null @@ -1,18 +0,0 @@ -/* - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - -#ifndef __MMC_MVSDIO_H -#define __MMC_MVSDIO_H - -#include - -struct mvsdio_platform_data { - unsigned int clock; - int gpio_card_detect; - int gpio_write_protect; -}; - -#endif