From patchwork Sun May 21 20:40:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 9739431 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 CE3536032C for ; Sun, 21 May 2017 20:41:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BD35C28500 for ; Sun, 21 May 2017 20:41:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B24B4285A3; Sun, 21 May 2017 20:41:31 +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 55B1228500 for ; Sun, 21 May 2017 20:41:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932505AbdEUUlN (ORCPT ); Sun, 21 May 2017 16:41:13 -0400 Received: from sauhun.de ([88.99.104.3]:55122 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756494AbdEUUkU (ORCPT ); Sun, 21 May 2017 16:40:20 -0400 Received: from localhost (p54B335A2.dip0.t-ipconnect.de [84.179.53.162]) by pokefinder.org (Postfix) with ESMTPSA id E23572C0475; Sun, 21 May 2017 22:40:18 +0200 (CEST) From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , Dmitry Torokhov , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] input: mcs: move header file out of I2C realm Date: Sun, 21 May 2017 22:40:10 +0200 Message-Id: <20170521204013.6623-3-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 --- drivers/input/keyboard/mcs_touchkey.c | 2 +- drivers/input/touchscreen/mcs5000_ts.c | 2 +- include/linux/{i2c => input}/mcs.h | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename include/linux/{i2c => input}/mcs.h (100%) diff --git a/drivers/input/keyboard/mcs_touchkey.c b/drivers/input/keyboard/mcs_touchkey.c index 31090d71a685d1..7781ca28c54190 100644 --- a/drivers/input/keyboard/mcs_touchkey.c +++ b/drivers/input/keyboard/mcs_touchkey.c @@ -13,7 +13,7 @@ #include #include -#include +#include #include #include #include diff --git a/drivers/input/touchscreen/mcs5000_ts.c b/drivers/input/touchscreen/mcs5000_ts.c index 90fc07dc98a6bb..53f45ea161192b 100644 --- a/drivers/input/touchscreen/mcs5000_ts.c +++ b/drivers/input/touchscreen/mcs5000_ts.c @@ -15,7 +15,7 @@ #include #include -#include +#include #include #include #include diff --git a/include/linux/i2c/mcs.h b/include/linux/input/mcs.h similarity index 100% rename from include/linux/i2c/mcs.h rename to include/linux/input/mcs.h