Received: by 10.192.165.148 with SMTP id m20csp63568imm; Thu, 19 Apr 2018 13:03:56 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/rxXqUKpnHNLdhbKROTGmvwmWaVhMrhPpw+AUOWjCGHa2Ys05NDGDH4LmfyFhEOXvr0Pn5 X-Received: by 10.99.184.10 with SMTP id p10mr218675pge.250.1524168236576; Thu, 19 Apr 2018 13:03:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524168236; cv=none; d=google.com; s=arc-20160816; b=lInOu+nUnR6aqKC/KmMLpQ+78BWYiGdEwO96tMAQ9jZGoumtSSUs+FfxguyAOmFFTF JYgbR6aFR3uMpfBJulU3nbJaULyyQpKmV8kTVv8oXtt65io1ChMjjlH1cYigA3bW+SJG ZUawNESTLBeodeMf3noBo5JQXCFh0HJtq40BA4qcFW7LbtcXExnE9cXs6gaBzETRpaFX YnaR6/JvZyV96xGSgL3/4Jpif6OQ7OeWtlGTkvMYgL/1BELkjgY+s5qXbiNkmnhhybr8 vpKoCVFhYBcEe4jc1S1ELwaqyjjTxjGG9nAFei+qL6UpF0odNAdmb5ckoze3OsH2Dxyo 9wHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=BrsuXt2gUS4gAQhhMXD4TxJoSA/MRTBb1/Q83JaLiqc=; b=Yhe5Z41am25YT2piMOh3jnk+QEnTCz6u8/sOtfOWcSiKUZQdCw69ciOeTUppwidoMP JKVMMVyffzgVKabarnwrt2s+R5EIX6mD/Lb9HinrharK4F++uDWHX3e03I5ZNyTsdMfw SGVkjgWDmqk3eyF/d59Qy2Ar2lNwyTx9zv73iGAo9j0oubyO+oECTd+quY0s515NlwCQ z4k1l/4bqLBAj7nA/z2C1LuvDhdpmuJrW5DnM+tWQRSkoqH0tBs1NwY0LAABr/95wOUH MUi+krT/+FOKChPlIxL6qEJQnNtQXNX+bwf7RqDBRODXxqGsm0zv5QTUUvFIrfYgRjNP mmxg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k13si3619037pgr.124.2018.04.19.13.03.34; Thu, 19 Apr 2018 13:03:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753536AbeDSUAx (ORCPT + 99 others); Thu, 19 Apr 2018 16:00:53 -0400 Received: from sauhun.de ([88.99.104.3]:48062 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753486AbeDSUAw (ORCPT ); Thu, 19 Apr 2018 16:00:52 -0400 Received: from localhost (unknown [46.183.103.8]) by pokefinder.org (Postfix) with ESMTPSA id 3EAB7314F65; Thu, 19 Apr 2018 22:00:50 +0200 (CEST) From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , Peter Korsgaard , Jonathan Corbet , Lee Jones , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/7] i2c: i2c-ocores: move header to platform_data Date: Thu, 19 Apr 2018 22:00:09 +0200 Message-Id: <20180419200015.15095-4-wsa@the-dreams.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180419200015.15095-1-wsa@the-dreams.de> References: <20180419200015.15095-1-wsa@the-dreams.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This header only contains platform_data. Move it to the proper directory. Signed-off-by: Wolfram Sang --- Documentation/i2c/busses/i2c-ocores | 2 +- drivers/i2c/busses/i2c-ocores.c | 2 +- drivers/mfd/timberdale.c | 2 +- include/linux/{ => platform_data}/i2c-ocores.h | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename include/linux/{ => platform_data}/i2c-ocores.h (100%) diff --git a/Documentation/i2c/busses/i2c-ocores b/Documentation/i2c/busses/i2c-ocores index c269aaa2f26a..c12fa9d3b050 100644 --- a/Documentation/i2c/busses/i2c-ocores +++ b/Documentation/i2c/busses/i2c-ocores @@ -18,7 +18,7 @@ Usage i2c-ocores uses the platform bus, so you need to provide a struct platform_device with the base address and interrupt number. The dev.platform_data of the device should also point to a struct -ocores_i2c_platform_data (see linux/i2c-ocores.h) describing the +ocores_i2c_platform_data (see linux/platform_data/i2c-ocores.h) describing the distance between registers and the input clock speed. There is also a possibility to attach a list of i2c_board_info which the i2c-ocores driver will add to the bus upon creation. diff --git a/drivers/i2c/busses/i2c-ocores.c b/drivers/i2c/busses/i2c-ocores.c index 8c42ca7107b2..d7da9adf7ee1 100644 --- a/drivers/i2c/busses/i2c-ocores.c +++ b/drivers/i2c/busses/i2c-ocores.c @@ -21,7 +21,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/drivers/mfd/timberdale.c b/drivers/mfd/timberdale.c index cd4a6d7d6750..118d7ef727e6 100644 --- a/drivers/mfd/timberdale.c +++ b/drivers/mfd/timberdale.c @@ -30,7 +30,7 @@ #include #include -#include +#include #include #include diff --git a/include/linux/i2c-ocores.h b/include/linux/platform_data/i2c-ocores.h similarity index 100% rename from include/linux/i2c-ocores.h rename to include/linux/platform_data/i2c-ocores.h -- 2.11.0