From patchwork Sun May 21 20:40:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 9739417 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5E12A6032C for ; Sun, 21 May 2017 20:40:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4DA4728500 for ; Sun, 21 May 2017 20:40:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4297E285C7; Sun, 21 May 2017 20:40:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7076E28500 for ; Sun, 21 May 2017 20:40:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932402AbdEUUkg (ORCPT ); Sun, 21 May 2017 16:40:36 -0400 Received: from sauhun.de ([88.99.104.3]:55126 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757146AbdEUUkW (ORCPT ); Sun, 21 May 2017 16:40:22 -0400 Received: from localhost (p54B335A2.dip0.t-ipconnect.de [84.179.53.162]) by pokefinder.org (Postfix) with ESMTPSA id 3D7432C0435; Sun, 21 May 2017 22:40:20 +0200 (CEST) From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , Yoshinori Sato , Rich Felker , Dmitry Torokhov , Lee Jones , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Subject: [PATCH 4/4] input: tsc2007: move header file out of I2C realm Date: Sun, 21 May 2017 22:40:12 +0200 Message-Id: <20170521204013.6623-5-wsa@the-dreams.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170521204013.6623-1-wsa@the-dreams.de> References: <20170521204013.6623-1-wsa@the-dreams.de> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP include/linux/i2c is not for client devices. Move the header file to a more appropriate location. Signed-off-by: Wolfram Sang Acked-by: Lee Jones --- arch/sh/boards/mach-ecovec24/setup.c | 2 +- drivers/input/touchscreen/tsc2007_core.c | 2 +- drivers/mfd/timberdale.c | 2 +- include/linux/{i2c => input}/tsc2007.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename include/linux/{i2c => input}/tsc2007.h (95%) diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index 6d612792f6b8ec..efca883d3466cc 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/drivers/input/touchscreen/tsc2007_core.c b/drivers/input/touchscreen/tsc2007_core.c index fc7384936011dc..b680b942e4abde 100644 --- a/drivers/input/touchscreen/tsc2007_core.c +++ b/drivers/input/touchscreen/tsc2007_core.c @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include #include #include "tsc2007.h" diff --git a/drivers/mfd/timberdale.c b/drivers/mfd/timberdale.c index c9339f85359b74..84523b630e2fdf 100644 --- a/drivers/mfd/timberdale.c +++ b/drivers/mfd/timberdale.c @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include #include diff --git a/include/linux/i2c/tsc2007.h b/include/linux/input/tsc2007.h similarity index 95% rename from include/linux/i2c/tsc2007.h rename to include/linux/input/tsc2007.h index 4f35b6ad3889fa..c7b7eb024328d5 100644 --- a/include/linux/i2c/tsc2007.h +++ b/include/linux/input/tsc2007.h @@ -1,7 +1,7 @@ #ifndef __LINUX_I2C_TSC2007_H #define __LINUX_I2C_TSC2007_H -/* linux/i2c/tsc2007.h */ +/* linux/input/tsc2007.h */ struct tsc2007_platform_data { u16 model; /* 2007. */