From: Vivien Didelot Date: Wed, 12 Sep 2012 16:23:44 +0000 (-0400) Subject: hwmon: (sht15) move header to linux/platform_data/ X-Git-Tag: upstream/snapshot3+hdmi~6590^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f9b693eb3db8b8cbcd34e0d3874e0252271f7204;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git hwmon: (sht15) move header to linux/platform_data/ This patch moves the sht15.h header from include/linux to include/linux/platform_data, and update existing support (stargate2 platform) accordingly. Signed-off-by: Vivien Didelot Signed-off-by: Guenter Roeck --- diff --git a/arch/arm/mach-pxa/stargate2.c b/arch/arm/mach-pxa/stargate2.c index 30b1b0b..0701ca7 100644 --- a/arch/arm/mach-pxa/stargate2.c +++ b/arch/arm/mach-pxa/stargate2.c @@ -52,7 +52,7 @@ #include #include #include -#include +#include #include "devices.h" #include "generic.h" diff --git a/drivers/hwmon/sht15.c b/drivers/hwmon/sht15.c index c8245c0..07a0c1a 100644 --- a/drivers/hwmon/sht15.c +++ b/drivers/hwmon/sht15.c @@ -24,12 +24,12 @@ #include #include #include +#include #include #include #include #include #include -#include #include #include #include diff --git a/include/linux/sht15.h b/include/linux/platform_data/sht15.h similarity index 99% rename from include/linux/sht15.h rename to include/linux/platform_data/sht15.h index f85c7c5..33e0fd2 100644 --- a/include/linux/sht15.h +++ b/include/linux/platform_data/sht15.h @@ -31,4 +31,3 @@ struct sht15_platform_data { bool no_otp_reload; bool low_resolution; }; -