From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932581AbdEUUnC (ORCPT ); Sun, 21 May 2017 16:43:02 -0400 Received: from sauhun.de ([88.99.104.3]:55145 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932179AbdEUUmh (ORCPT ); Sun, 21 May 2017 16:42:37 -0400 From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , Arnd Bergmann , Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: [PATCH 1/2] misc: apds990x: move header file out of I2C realm Date: Sun, 21 May 2017 22:42:32 +0200 Message-Id: <20170521204233.6745-2-wsa@the-dreams.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170521204233.6745-1-wsa@the-dreams.de> References: <20170521204233.6745-1-wsa@the-dreams.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org include/linux/i2c is not for client devices. Move the header file to a more appropriate location. Signed-off-by: Wolfram Sang --- drivers/misc/apds990x.c | 2 +- include/linux/{i2c => platform_data}/apds990x.h | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename include/linux/{i2c => platform_data}/apds990x.h (100%) diff --git a/drivers/misc/apds990x.c b/drivers/misc/apds990x.c index dfb72ecfa60461..c341164edaad01 100644 --- a/drivers/misc/apds990x.c +++ b/drivers/misc/apds990x.c @@ -32,7 +32,7 @@ #include #include #include -#include +#include /* Register map */ #define APDS990X_ENABLE 0x00 /* Enable of states and interrupts */ diff --git a/include/linux/i2c/apds990x.h b/include/linux/platform_data/apds990x.h similarity index 100% rename from include/linux/i2c/apds990x.h rename to include/linux/platform_data/apds990x.h -- 2.11.0