From patchwork Sun May 21 20:30:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 9739389 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 52AD06032C for ; Sun, 21 May 2017 20:31:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 422D927C05 for ; Sun, 21 May 2017 20:31:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 374D3283A5; Sun, 21 May 2017 20:31:09 +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 EB33C27C05 for ; Sun, 21 May 2017 20:31:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756829AbdEUUal (ORCPT ); Sun, 21 May 2017 16:30:41 -0400 Received: from sauhun.de ([88.99.104.3]:55033 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756798AbdEUUal (ORCPT ); Sun, 21 May 2017 16:30:41 -0400 Received: from localhost (p54B335A2.dip0.t-ipconnect.de [84.179.53.162]) by pokefinder.org (Postfix) with ESMTPSA id 418AD2C3589; Sun, 21 May 2017 22:30:39 +0200 (CEST) From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , Jiri Kosina , Benjamin Tissoires , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/1] hid: i2c-hid: move header file out of I2C realm Date: Sun, 21 May 2017 22:30:33 +0200 Message-Id: <20170521203033.6146-2-wsa@the-dreams.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170521203033.6146-1-wsa@the-dreams.de> References: <20170521203033.6146-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: Benjamin Tissoires --- drivers/hid/i2c-hid/i2c-hid.c | 2 +- include/linux/{i2c => platform_data}/i2c-hid.h | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename include/linux/{i2c => platform_data}/i2c-hid.h (100%) diff --git a/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c index 8daa8ce64ebba5..841aa43526eba4 100644 --- a/drivers/hid/i2c-hid/i2c-hid.c +++ b/drivers/hid/i2c-hid/i2c-hid.c @@ -40,7 +40,7 @@ #include #include -#include +#include #include "../hid-ids.h" diff --git a/include/linux/i2c/i2c-hid.h b/include/linux/platform_data/i2c-hid.h similarity index 100% rename from include/linux/i2c/i2c-hid.h rename to include/linux/platform_data/i2c-hid.h