From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751151AbdEaTzz (ORCPT ); Wed, 31 May 2017 15:55:55 -0400 Received: from mail-qt0-f169.google.com ([209.85.216.169]:34568 "EHLO mail-qt0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751009AbdEaTzx (ORCPT ); Wed, 31 May 2017 15:55:53 -0400 From: Jon Mason To: Zhang Rui , Eduardo Valentin Cc: rafal@milecki.pl, Florian Fainelli , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com Subject: [PATCH] thermal: broadcom: ns-thermal: depends/default only for NS/NSP Date: Wed, 31 May 2017 15:55:44 -0400 Message-Id: <1496260544-4200-1-git-send-email-jon.mason@broadcom.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ARCH_BCM_IPROC includes support for many SoCs, not all of which have the same thermal hardware interface as the Northstar/Northstar Plus SoCs. This is not a major issue, as this driver will only be probed if the relevant device tree entry is present. However, it will result in a slightly larger than necessary kernel. By limiting the driver to only work on the NS/NSP SoCs, we can avoid the issue. Suggested-by: Scott Branden Signed-off-by: Jon Mason --- drivers/thermal/broadcom/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/broadcom/Kconfig b/drivers/thermal/broadcom/Kconfig index 42c098e86f84..c729dad2348c 100644 --- a/drivers/thermal/broadcom/Kconfig +++ b/drivers/thermal/broadcom/Kconfig @@ -8,8 +8,8 @@ config BCM2835_THERMAL config BCM_NS_THERMAL tristate "Northstar thermal driver" - depends on ARCH_BCM_IPROC || COMPILE_TEST - default y if ARCH_BCM_IPROC + depends on ARCH_BCM_NSP || ARCH_BCM_5301X || COMPILE_TEST + default y if ARCH_BCM_NSP || ARCH_BCM_5301X help Support for the Northstar and Northstar Plus family of SoCs (e.g. BCM4708, BCM4709, BCM5301x, BCM95852X, etc). It contains DMU (Device -- 2.7.4