From patchwork Fri Jan 29 14:50:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101025 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp1163538lbb; Fri, 29 Jan 2016 06:51:41 -0800 (PST) X-Received: by 10.66.121.194 with SMTP id lm2mr13914745pab.27.1454079101533; Fri, 29 Jan 2016 06:51:41 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n81si10187825pfi.46.2016.01.29.06.51.41; Fri, 29 Jan 2016 06:51:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756410AbcA2Ovj (ORCPT + 30 others); Fri, 29 Jan 2016 09:51:39 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:51077 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756305AbcA2Ove (ORCPT ); Fri, 29 Jan 2016 09:51:34 -0500 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0LfikE-1Zitp91sza-00pM8b; Fri, 29 Jan 2016 15:51:01 +0100 From: Arnd Bergmann To: linux-samsung-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Kukjin Kim , Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: [PATCH 1/6] ARM: s3c24xx: don't select EEPROM_AT24 Date: Fri, 29 Jan 2016 15:50:33 +0100 Message-Id: <1454079040-3567945-2-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1454079040-3567945-1-git-send-email-arnd@arndb.de> References: <1454079040-3567945-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:WceVxc/kFXRmppagcIJTpynffpJRC/kBjFcjQDoj22EyDTOpDsa E7x7n33eNIvZftKsKnT/ZqFkjsrRx1Ur8vIVMTVXjYqyh+i0oi1h+o5xgf00h3QYR9O8SND hxZqjXJrLnKUjwCEnnZCUl8tUkc58x5QZNgZHcfDwA9VMPyw3NhRsLwCWSHVL2tPFejtnEs 6U0Zr5OG7taO6Xu1Y33/Q== X-UI-Out-Filterresults: notjunk:1; V01:K0:syWQyBQgysI=:2tETZ/dnZVvsnYFUQsdtBB GO1vdfIlJcbyWvbI0IUnviYvQMPfm1TxwxqjdzsXGqx75yrlOP+DXzBVc/eW3XL5Kv533KEVa KBQf9V0aUFz+AYQaiJIcdbowWMrlaazx12F3BtUs4ZJHrnnESYES4pRxKQ5Z4dY0vtC5DXzH+ kqRCP6vcTKy3HWnTmoWfudApRDjBnxoTJ+gLnG0mW8G2o+0BWkMlMjVt/Lkx1S+bFRuHhZSl8 mKSqtF130Mi0cyUivPOadTQJFlrkS1kJJT2HyUccTE8vcxIkMpfBajHPfOCfsdGiI8cuo1Lmi OpLCY1F0NnpakyP+SZTUvSrS/opcUtGPMfhQXwCGDk1Am97iAjWbccKWEkW8UWpR77hiMHvT3 fUH7q+BBbEGl3/Zsgh1cQMUCjtPFmd7YELh4gbSWf71VJoTrv0isUjzYcgqWTN6MyiaEVAkPf iQki63ox5bjdIut4/vzCR4ZCqZQPNxyGtBkzKcCJ7F2FYG8jCMjzT+HRfgxgMB4tUOlFeN8A6 aLS3xSDSm+OuNlTLNStxVNGlG1t1nrLwnzPHvVTh+1urP3rM57OX1kbGn95XVAvvR9kyI7bNu 1F6D/UcyhQjsje2u/GSAtt/ayOuJBqANdyWrC/fRzvcOkiIkUm6QGYx2Lz1XYwkp/YHEXIRon y1sOh2CX8831NDkp3Vz5Nkqk8UuQbkMhWudo0Zmmgr06SILBOV8EpsN4xOnQzBkxIZI8= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org EEPROM_AT24 depends on both I2C and SYSFS. We have in the past added I2C 'select' statements to avoid build problems with the first, but we still get a warning because of the second: warning: (MACH_DAVINCI_EVM && MACH_SFFSDR && MACH_DAVINCI_DM6467_EVM && MACH_DAVINCI_DM365_EVM && MACH_DAVINCI_DA830_EVM && MACH_MITYOMAPL138 && MACH_MINI2440) selects EEPROM_AT24 which has unmet direct dependencies (I2C && SYSFS) This removes the 'select' statements again, and forces users to enable the driver in their configuration files, as we do for most other drivers. Signed-off-by: Arnd Bergmann --- arch/arm/configs/mini2440_defconfig | 1 + arch/arm/configs/s3c2410_defconfig | 1 + arch/arm/mach-s3c24xx/Kconfig | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) -- 2.7.0 diff --git a/arch/arm/configs/mini2440_defconfig b/arch/arm/configs/mini2440_defconfig index 9c93f5655248..0b02e4f43c6a 100644 --- a/arch/arm/configs/mini2440_defconfig +++ b/arch/arm/configs/mini2440_defconfig @@ -158,6 +158,7 @@ CONFIG_I2C=y CONFIG_I2C_CHARDEV=y CONFIG_I2C_S3C2410=y CONFIG_I2C_SIMTEC=y +CONFIG_EEPROM_AT24=y CONFIG_SPI=y CONFIG_SPI_S3C24XX=y CONFIG_SPI_SPIDEV=y diff --git a/arch/arm/configs/s3c2410_defconfig b/arch/arm/configs/s3c2410_defconfig index f3142369f594..b3ade552a2a5 100644 --- a/arch/arm/configs/s3c2410_defconfig +++ b/arch/arm/configs/s3c2410_defconfig @@ -290,6 +290,7 @@ CONFIG_HW_RANDOM=y CONFIG_I2C_CHARDEV=m CONFIG_I2C_S3C2410=y CONFIG_I2C_SIMTEC=y +CONFIG_EEPROM_AT24=y CONFIG_SPI=y CONFIG_SPI_GPIO=m CONFIG_SPI_S3C24XX=m diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig index ef68ecb27396..c94ef77405ed 100644 --- a/arch/arm/mach-s3c24xx/Kconfig +++ b/arch/arm/mach-s3c24xx/Kconfig @@ -460,7 +460,6 @@ config MACH_AT2440EVB config MACH_MINI2440 bool "MINI2440 development board" - select EEPROM_AT24 if I2C select LEDS_CLASS select LEDS_TRIGGERS select LEDS_TRIGGER_BACKLIGHT From patchwork Fri Jan 29 14:50:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101024 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp1163635lbb; Fri, 29 Jan 2016 06:51:52 -0800 (PST) X-Received: by 10.98.87.196 with SMTP id i65mr13874500pfj.72.1454079112138; Fri, 29 Jan 2016 06:51:52 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id we2si2644364pac.127.2016.01.29.06.51.51; Fri, 29 Jan 2016 06:51:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756435AbcA2Ovm (ORCPT + 30 others); Fri, 29 Jan 2016 09:51:42 -0500 Received: from mout.kundenserver.de ([212.227.17.24]:61403 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756390AbcA2Ovj (ORCPT ); Fri, 29 Jan 2016 09:51:39 -0500 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0MJl3M-1aQGJp0z0G-001EXz; Fri, 29 Jan 2016 15:51:05 +0100 From: Arnd Bergmann To: linux-samsung-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Kukjin Kim , Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: [PATCH 2/6] ARM: s3c24xx: allow selecting S3C2440_XTAL_16934400 for s3c2442 Date: Fri, 29 Jan 2016 15:50:34 +0100 Message-Id: <1454079040-3567945-3-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1454079040-3567945-1-git-send-email-arnd@arndb.de> References: <1454079040-3567945-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:Cwi5hI6ljT44BP2Wm/yL+dM5F63+/i46+Py0UyUVYlTjEDJGyQl u5pfOa0cUYWM76Tb50YS6c6jwLkDu2BBjQtFI0UgPcoursX8BaJpGwWdaJ6k2w9pcFEpjNv HyheYwgz7fH1HIf44Pvj+W60Ei8lBWoZ3gV5CD1xIGes+dN4uBwBT+Q3xTZeahP1sTLi7VI AfDMv5Dy3FEBb5Sdh5SxA== X-UI-Out-Filterresults: notjunk:1; V01:K0:HvVkTVUqlWE=:nxP5vZS5h1qzgc/JCYH/jM pQjoptUDQOuvE73jFM6eVqX/KHH7+TlI3PRHwTvVnDAkWWTq2kXnao8GnLX6FBw4DJxDjuB/j Lc282AVKyN8Y2Ht6vToMw7w0aE9f72G5rx+xRrJGzM2+Z/V8f4wmc5pa0PIxJQ07xXoH7HtAN qY3VGRSmEUnfA7IV0IxK8ZQH4pzrHwyjPbJUCqRIOh4qjFqsc0iQ149WYo+6qwrQO7gmEA9vl 24d7ygam4sCbB71e9tRgk9oK0M6lMNqVFbF7jc4H9eGHnjlYnt2m6BLHeXsQ3SKjkKfXdIpcA cMYCwO7t+NJ1WTd0ERpsCn8GShdsvdCdwvhlZEQHpbpSvp5gzqORSX2kZrAxV1GyMqrJvkKDX I9NY26d62HB1kO1ZAhO00+0Thdm48g+wQTtrfSL7pXHR+B+Vw0ii7P2DbqfsK2+n4tz7RXvVB Tk+xLh76/GuKPLDX/+BWagBvhCZ8TwgrAZay2n0XnWQi08l+sNCjxkhMBjYGN0RYQ64Ygv1EJ jh0cWrdJ3AYIshcZFZWNQtyP5a+SNLOCPQZGa6emGxX5fA2zeWW8AIhKtntX/l18ubyFRZyCG 5fGyBroOIaEj6ihphxh+YXGc9nRPX/QirDNq+VWgPbwzu+DxWpskZMHLt6qjnj9zdp8oRlnFW gKuOwtNulvkfiAhgKHEPvPHKt4WhNmJhQzPCRS3iD82wwIYOE7yDQV4+4DQlKeA/R9+Y= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The S3C2440_XTAL_16934400 and S3C2440_XTAL_12000000 symbols are used for both s3c2442 and s3c2440, but Kconfig only allows it to be selected if CPU_S3C2440 is enabled, which can lead to a warning otherwise: warning: (MACH_RX1950) selects S3C2440_XTAL_16934400 which has unmet direct dependencies (ARCH_S3C24XX && CPU_S3C2440) This changes the dependencies to make it possible also for CPU_S3C2442-only configurations. Signed-off-by: Arnd Bergmann --- arch/arm/mach-s3c24xx/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.7.0 diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig index c94ef77405ed..5884bbb7952e 100644 --- a/arch/arm/mach-s3c24xx/Kconfig +++ b/arch/arm/mach-s3c24xx/Kconfig @@ -405,7 +405,7 @@ config MACH_S3C2416_DT endif # CPU_S3C2416 -if CPU_S3C2440 +if CPU_S3C2440 || CPU_S3C2442 config S3C2440_XTAL_12000000 bool @@ -432,6 +432,9 @@ config S3C2440_PLL_16934400 default y if S3C24XX_PLL help PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals. +endif + +if CPU_S3C2440 comment "S3C2440 Boards" From patchwork Fri Jan 29 14:50:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101020 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp1164119lbb; Fri, 29 Jan 2016 06:52:51 -0800 (PST) X-Received: by 10.67.6.1 with SMTP id cq1mr13839702pad.78.1454079171616; Fri, 29 Jan 2016 06:52:51 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 193si24709688pfa.204.2016.01.29.06.52.51; Fri, 29 Jan 2016 06:52:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932306AbcA2Owt (ORCPT + 30 others); Fri, 29 Jan 2016 09:52:49 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:53486 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756389AbcA2Ovi (ORCPT ); Fri, 29 Jan 2016 09:51:38 -0500 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0LnSVK-1ZspRD3Ncc-00hhAn; Fri, 29 Jan 2016 15:51:09 +0100 From: Arnd Bergmann To: linux-samsung-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Kukjin Kim , Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: [PATCH 3/6] ARM: s3c24xx: fix unused gta02_configure_pmu_for_charger warning Date: Fri, 29 Jan 2016 15:50:35 +0100 Message-Id: <1454079040-3567945-4-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1454079040-3567945-1-git-send-email-arnd@arndb.de> References: <1454079040-3567945-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:BRk1DiFR/wDRVRI15MLoxjfSjt+2oGdc7nFnf3p72AB3YMATj87 +a7T4Se+uCKGzt/y/rhk0kYycBvbt72KD4VfZGbnRSaJRa4F4nebo4VQo9S6y4uGkswrRDU eAvycD1eRRoxw2d241zKXMqU2j96i8naoZnXXLLZ0iYNYG7NCCXCsvweAkOLQI7+6r+ddAQ pp1a8gMCeQo1YYuiun85w== X-UI-Out-Filterresults: notjunk:1; V01:K0:UuOHjgnvbCQ=:nrHKQOz5sz66vB6BuUDkxK vKPzaJR7e5vUDL+os+6sAvOnu82NdVu6NUxzlCeFVw50Zwt3L5UqMKz8mTvrJzrFWie+ycllX gG8w5h5d4aJx6ykGcU3Ev/RoDGHD60bymXpoNc3uVTs/bkzBbs1B/VQhToyY/PVT7+CeH5CDw HND+fB/H49eEMLbuG0C59bIZtifzFrwG+1CQ+wB/+lYD5sFTn5EhpKmucGmBrFkfbqNwKVAlM bUDvMAaJadx9TSXmnMOKRu216GEFc2MXjpHE8bPSFxcShXwxUK3YNX4tG12m7gcdX9t1/EnCx 6PZesuzBsd6HiKQy+bUbxJC49fzBQFLfLgUR93mvUVP+jLWTGMUhGrefBWTHlxegD7ay2fqu3 57d7pU49t7ZNVipnFRllrJLKadTAiLXn+63COtVtrmK+Kd91uNzXus/EZ5+LzCXa1yRO52UMM QpwgHQgc+0qx60M0i4PV0mV8qkwQXoxYcFToPq7FsAulKt/XHJUXmtdyCi5+JUfjHZw+MJ2oL ZSDCkJw0g/nPjJn/UB7HBPoF36/6JBjpVgNIJYwUrENAcuuhbGXuHn9vnXJCq7oPwf1R3NM/U KhJd4uMU2wCf0fI4cu3Ao6fDf/O2tRSgpJWkYR2AQ5gH3pfH8J6PP0/1dTCk1nZFo9oLTA6Vn LIDu9pgXlYryDDAfQzRmCo3UI6T5sFFH1ohGRzlUBpd+fKEbuIptkl9xl3nVjA9OKVuA= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org gta02_configure_pmu_for_charger is only used when CONFIG_PCF50633_ADC is set, and otherwise we get a warning about an unused symbol: arch/arm/mach-s3c24xx/mach-gta02.c:158:1: warning: 'gta02_configure_pmu_for_charger' defined but not used [-Wunused-function] gta02_configure_pmu_for_charger(struct pcf50633 *pcf, void *unused, int res) This adds an #ifdef to shut up the warning. Signed-off-by: Arnd Bergmann --- arch/arm/mach-s3c24xx/mach-gta02.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.7.0 Reviewed-by: Krzysztof Kozlowski diff --git a/arch/arm/mach-s3c24xx/mach-gta02.c b/arch/arm/mach-s3c24xx/mach-gta02.c index 6d1e0b9c5b27..27ae6877550f 100644 --- a/arch/arm/mach-s3c24xx/mach-gta02.c +++ b/arch/arm/mach-s3c24xx/mach-gta02.c @@ -154,6 +154,7 @@ static struct s3c2410_uartcfg gta02_uartcfgs[] = { #define ADC_NOM_CHG_DETECT_1A 6 #define ADC_NOM_CHG_DETECT_USB 43 +#ifdef CONFIG_PCF50633_ADC static void gta02_configure_pmu_for_charger(struct pcf50633 *pcf, void *unused, int res) { @@ -174,6 +175,7 @@ gta02_configure_pmu_for_charger(struct pcf50633 *pcf, void *unused, int res) pcf50633_mbc_usb_curlim_set(pcf, ma); } +#endif static struct delayed_work gta02_charger_work; static int gta02_usb_vbus_draw; From patchwork Fri Jan 29 14:50:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101023 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp1163697lbb; Fri, 29 Jan 2016 06:51:58 -0800 (PST) X-Received: by 10.98.73.29 with SMTP id w29mr13799961pfa.106.1454079116133; Fri, 29 Jan 2016 06:51:56 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o4si24712573pfo.19.2016.01.29.06.51.55; Fri, 29 Jan 2016 06:51:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756467AbcA2Ovx (ORCPT + 30 others); Fri, 29 Jan 2016 09:51:53 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:54229 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932081AbcA2Ovq (ORCPT ); Fri, 29 Jan 2016 09:51:46 -0500 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0LxO7W-1a0Qfb3DBq-016szN; Fri, 29 Jan 2016 15:51:13 +0100 From: Arnd Bergmann To: linux-samsung-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Kukjin Kim , Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: [PATCH 4/6] ARM: s3c24xx: don't select RFKILL if CONFIG_NET is disabled Date: Fri, 29 Jan 2016 15:50:36 +0100 Message-Id: <1454079040-3567945-5-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1454079040-3567945-1-git-send-email-arnd@arndb.de> References: <1454079040-3567945-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:ein1+TDf581q2DCeh/qC1NQR0joIras5bAv82+S2t9BW4u0F5DT hW3609rhNjTnWSRy3wSh1vztxhokBkkiI49PRq/TLYsmvxFPOFXDx3p5eYyz+Y70JnPb/s/ NFN5x9ee1yJQCJ/Nk8CmfiNf5CHHY3AntF+IDzkSgJwNaFpinupYeKUmYsfUOR4QQnHZTn8 6wmIAt6tExhsOhfiUrDig== X-UI-Out-Filterresults: notjunk:1; V01:K0:gTNQNNIk4Xo=:7jO1ebcewVqre5sP04oelZ 70IgDnKTKJ2Uye7Xxg6AhuCHK9xZx4oaAB4jEsPtvtuQo/pJqykmT1ldZftxCybvrhEh4rGnx v4d7BBDGuYx6KrB/0uGsSZaoLGCFDxj/wtk/MRhGVC3vjdOd40UhI4lwwQMb3HT3CqOHiBi1O PkGgKCdRAtnQ5+5y5n1AKpIyAKlAOo4ZwbrbrF2Ul/lQCVh0olJt1nSoX2zPiSZf30orRHPLb sMiep/skPl8vi8YQ95kpuXtvrXxsP4TTq8n0lW2ggCGkk9jG2aYUY/gfLG2sp8u3YCNLqsRIe kVunpGpY6gAC3o8PXSplON6cIxZBg+QqYPXPTnpTVu4kh1Oc/OwuKsSNust6DPKU205vntwCo Tal+DCbZpMiHv7OnyqId93zxY9p1E+tYjS6CIWyXm3cSlCnUAWfyw5tOZt8q+Y0VbVCPrviFc eodNyhiQgMiGXST3pheAxUnBMbv++2kbDZr7YNUsd8XIjuc4nhkc4szonJG9QylBLath02qoZ NJsec5l3LUac57wzBefUdmfPVCtFIlvFLN10Grc/Rs4+JoGsXzTjLHPcdkuF0F/BerBZLZpna C2TZPVW/Q2H6WlzRuhbjIHVhfalXR9eOrSuHqlwFPB7A+KB6ZPNx0z9dqdCnb9voAVNRTguX/ d7Sc0Zc4TZdFdlQYINQpnx81ro7X9KEW+oizeHAfttVhRhgY+71okfQyt5MIbkpovXYA= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Bluetooth is only supported when network support is part of the kernel, so it is a bit pointless to build the hi1940-bt support without networking. If we try anyway, we get a Kconfig warning: warning: (TOSA_BT && H1940BT) selects RFKILL which has unmet direct dependencies (NET) This adds a dependency on CONFIG_NET to avoid that case. Signed-off-by: Arnd Bergmann --- arch/arm/mach-s3c24xx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.0 diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig index 5884bbb7952e..bf66c8334822 100644 --- a/arch/arm/mach-s3c24xx/Kconfig +++ b/arch/arm/mach-s3c24xx/Kconfig @@ -227,7 +227,7 @@ config ARCH_H1940 config H1940BT tristate "Control the state of H1940 bluetooth chip" - depends on ARCH_H1940 + depends on ARCH_H1940 && NET select RFKILL help This is a simple driver that is able to control From patchwork Fri Jan 29 14:50:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101021 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp1163756lbb; Fri, 29 Jan 2016 06:52:06 -0800 (PST) X-Received: by 10.66.242.17 with SMTP id wm17mr13809175pac.155.1454079126078; Fri, 29 Jan 2016 06:52:06 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 15si24704484pfp.195.2016.01.29.06.52.04; Fri, 29 Jan 2016 06:52:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756495AbcA2Ov7 (ORCPT + 30 others); Fri, 29 Jan 2016 09:51:59 -0500 Received: from mout.kundenserver.de ([217.72.192.74]:53505 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756471AbcA2Ov4 (ORCPT ); Fri, 29 Jan 2016 09:51:56 -0500 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0MeShL-1aj91S2fux-00QABk; Fri, 29 Jan 2016 15:51:21 +0100 From: Arnd Bergmann To: linux-samsung-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Kukjin Kim , Krzysztof Kozlowski , linux-kernel@vger.kernel.org Subject: [PATCH 6/6] ARM: exynos: select THERMAL_OF Date: Fri, 29 Jan 2016 15:50:38 +0100 Message-Id: <1454079040-3567945-7-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1454079040-3567945-1-git-send-email-arnd@arndb.de> References: <1454079040-3567945-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:uMVCz8wWUPqQZL1Csgfww28GJ2SdF9n+xpkRl0/b8MN+J9b+JwZ rZfezMSAzHTlWvmmBmj2nKyv5FcOJTyXxHUr1tLrveZ7PGsb1saJEKMCEbfCN93sInpndTj yiycRCk1PgDTeCgY3N5MEkEUcgdh05wFibN3RglXiUHTI1wc2oIPvzNCzFY24LvaQgo+0gV 1MEqQro3XKIpP55xvdOFg== X-UI-Out-Filterresults: notjunk:1; V01:K0:1rNPOK0fWUA=:FYwtpCNA7n2vW7ldLCBKPg ylkCyESXXZUPviaBhv+QRrX2kMTD+iRd+1yzWsfo8Z13ieM/JQ7zeXD1r2w4qikfumWJOpX+w 965qQZzj80PiX5b5UgcpxyhimL1ttk4VJqQnSmFpoZawUzhuRABC9dedRziTYVGgmEjVHXnsw MOwTL8buePu73osGX9hBgI79/vwyhXTziunn3zPC1XRW+oclp9l4g+jzKQ6OZEhkh6zN0yugH oqpyf4qvXCgAeOPSl/WUHipIn3UsDS/6GSGHHD+SoIyJjFyoD2ThBnf42N3BpazGOFRKi8EVL 4Wobs6NShQykYjnVS5hM0iD7jPgZxoVp6vqk8KLc4Vh+HxqRDGRC+pX1bQmT9pXuXbhuc7Ye1 Hjbz3ZjhmeQoT9InFcBhz5cZfrD2zJ/x/UaQviKUDwyCy2PtvZuJoYEFIIGyCs4z3fLxl5H6v PJhR3onH7Maw0fL5RwtdPPCghFowL1LLw1Wg5LRC7aTs3w3u4V+CVJzBnurKxRIWvtxLRZc+n VCaQRZVUJ3/+lEQXzrlmzUE2U2fdtminvt7IS6mjqre9nfwj1p4/4rtzCr+EttIjjRSlnFsGE VK7L1cS7vWiDvAtiuAoKIRasDAavCqVThR4FBhR7+ZOR9SgP8bU2NXWlMSFiKCKmSRJduDrDI FvD9JE5WoX3Zj9tvxsH3SxKtoppKk2RUd4+wyxp9Xl/iTCWCpmKzc1lNi0KWx0uVY1eY= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We cannot select a symbol that has disabled dependencies, so we get a warning if we ever enable EXYNOS_THERMAL without also turning on THERMAL_OF: warning: (ARCH_EXYNOS) selects EXYNOS_THERMAL which has unmet direct dependencies (THERMAL && (ARCH_EXYNOS || COMPILE_TEST) && THERMAL_OF) This adds another 'select' in the platform code to avoid that case. Alternatively, we could decide to not select EXYNOS_THERMAL here and instead make it a user option. Signed-off-by: Arnd Bergmann --- arch/arm/mach-exynos/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.7.0 diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 652a0bb11578..5189bcecad12 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@ -27,6 +27,7 @@ menuconfig ARCH_EXYNOS select S5P_DEV_MFC select SRAM select THERMAL + select THERMAL_OF select MFD_SYSCON select CLKSRC_EXYNOS_MCT select POWER_RESET