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: 7699601 Return-Path: X-Original-To: patchwork-linux-mmc@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 1CCD3BF90C for ; Wed, 25 Nov 2015 13:57:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2B87E208E9 for ; Wed, 25 Nov 2015 13:57:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E1883208E5 for ; Wed, 25 Nov 2015 13:57:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752992AbbKYN5q (ORCPT ); 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 X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,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 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 Acked-by: Andrew Lunn --- 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 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