Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3507284ybv; Mon, 10 Feb 2020 01:02:54 -0800 (PST) X-Google-Smtp-Source: APXvYqx5XQR99oeg2f/bHZDrHm+4P25izjHEc/VWcM1w4IEECrAlvUlHdpJrJagrAfg5sHvJeSvb X-Received: by 2002:a05:6808:3b2:: with SMTP id n18mr203830oie.146.1581325374129; Mon, 10 Feb 2020 01:02:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581325374; cv=none; d=google.com; s=arc-20160816; b=C/pb7MDqZPdVWCI4GPjHSYiGpnwKlWikaKR6Ry7Ju6COFBehVWr6isLh4N56c4GtFP +8J5HDduBdRzWt1iyeINTnHia4nPZpxBget565gz59uudt00ukr+kOVsT0Z8BD/NSG+g /+/WZjbrvobf9VogG+xakS9q77uHMHDvC6Zdx62qgIK+y5ZLzhjgVoTVGOlZ8V6Oo0nM 6mvoOqZKpnxtL3ji3yQXcp6+yXFovdINnDhRI2Qi+2roltNCLarcukx/KQlufIrW1D6X gEoR0N3gmqEp/miRpNsUxNPWsD3UMN6gh2N9PN0S8nuzQzA4W4GGoIkWyTeLf8kd10vW MWwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=K/pRvxA36An+Rl1ZwAdNT+xdUuhMMDvr3Oav2x/KizU=; b=ZN9QfL5SYXsB2OUuuKCz3tHfgQKji2U86RdbHrKuQodrhdbdpM9tcxB0I3LbErE9r4 QqZgxDy5uaHHCnI2fa5XvcxXbvWjafBu8ZfuU3afKaAN5qonrXHiKzXwjJ6UIhWD5UVg 6PabaTmt1x5MgTwLPDfE/92he6ps0v//rkl5w/lZ59cQEK0Uz4x0a1ckGB1/1/zSvegr x/287kYKnRk7eZEMf0WFStEq4XHqyrCj32RK0x47w3iVcJ0mrFFHMax+57tlS0MZnX0G 0l9p9RVEo38g+jTgFCfM0BwMSqz0iDgDdi0Peq20MnM6UDFD3ETgLrQvhLtPgoBqsLOR +H1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UszE7ICQ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c11si7539002oic.20.2020.02.10.01.02.39; Mon, 10 Feb 2020 01:02:54 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UszE7ICQ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727516AbgBJJB6 (ORCPT + 99 others); Mon, 10 Feb 2020 04:01:58 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:42459 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726968AbgBJJB6 (ORCPT ); Mon, 10 Feb 2020 04:01:58 -0500 Received: by mail-pg1-f193.google.com with SMTP id w21so3552257pgl.9; Mon, 10 Feb 2020 01:01:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=K/pRvxA36An+Rl1ZwAdNT+xdUuhMMDvr3Oav2x/KizU=; b=UszE7ICQpQdfWSHopva4WlhnC6fZuKAudkGJ4nWwZ+ffHqgeC46FOiLAjm+u0NkWwH El2ZnlxU6aN73wPFpI7dLvjFtMbhXpSFVWO0gC3+i5JFQQSsxsUlkKMav1uasAq5ZNWU b31dGaMVj6Ks72kIkmIvtQ85TgVFRXdHlODXfOgs+bPW2skrdIFUksPneON6xcjl6uco BXeEU7jzg+3tLAhGb/ayVw73RfVq8BgujarmUCdEUkmhbhP75yl9bohDKcCRDJ5Bv+jU CUSBfEzVEZUI6oELz94/xB2X0eeGKDmsMK8q5hWD6SvUm5DRxIVbSD+TWlqzbquAVXLX Oaxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=K/pRvxA36An+Rl1ZwAdNT+xdUuhMMDvr3Oav2x/KizU=; b=rHtFbkGCT925DjdPTg08co+MfZfbkEL0HH/uWHUWSGQLuZlcImoKaaQpsuS/D/uVLg 40Z44W/lmpeCwIuNCfM2gXwCNMNFYdbU11boby+I7t8qNHn+hRI3ZDCw830Ae0fBnSIp 4BCyrjerVsZlRFZJYP5DTDi29GhesQZNaDao8Q1z8/rJvYH7E9wZQ6tPDlHgsahLXc4Q 2/sJ/v8L3u8PNMXo28c6XLM4jFFVW+dOKv5HAbo+6lPCOhAk5fB8jU1QdyWP2ThUaQdj U1TTsu8O1spqLK/C5JD3qVzWu8YdpFJsCf5CbNDnktoHR6tvdFF2WQwCA8ybJQJr4L6O 813Q== X-Gm-Message-State: APjAAAU3O5BgclgQI2quXwC7YONHpkfz+5puOMfGSnTjz6fbEWcu/uW+ z9nxAH3NiICklRNXKU+culQ= X-Received: by 2002:aa7:8191:: with SMTP id g17mr202075pfi.25.1581325317718; Mon, 10 Feb 2020 01:01:57 -0800 (PST) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id g2sm11963516pgn.59.2020.02.10.01.01.55 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 10 Feb 2020 01:01:57 -0800 (PST) From: Baolin Wang To: ohad@wizery.com, bjorn.andersson@linaro.org Cc: linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, baolin.wang7@gmail.com Subject: [RESEND PATCH] hwspinlock: Allow drivers to be built with COMPILE_TEST Date: Mon, 10 Feb 2020 17:01:07 +0800 Message-Id: <5a95c3de07ef020a4e2f2776fa5adb00637ee387.1581324976.git.baolin.wang7@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Allow drivers to be built with COMPILE_TEST. Signed-off-by: Baolin Wang --- drivers/hwspinlock/Kconfig | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/hwspinlock/Kconfig b/drivers/hwspinlock/Kconfig index 37740e9..826a105 100644 --- a/drivers/hwspinlock/Kconfig +++ b/drivers/hwspinlock/Kconfig @@ -9,7 +9,7 @@ menuconfig HWSPINLOCK config HWSPINLOCK_OMAP tristate "OMAP Hardware Spinlock device" depends on HWSPINLOCK - depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX || SOC_AM33XX || SOC_AM43XX || ARCH_K3 + depends on ARCH_OMAP4 || SOC_OMAP5 || SOC_DRA7XX || SOC_AM33XX || SOC_AM43XX || ARCH_K3 || COMPILE_TEST help Say y here to support the OMAP Hardware Spinlock device (firstly introduced in OMAP4). @@ -19,7 +19,7 @@ config HWSPINLOCK_OMAP config HWSPINLOCK_QCOM tristate "Qualcomm Hardware Spinlock device" depends on HWSPINLOCK - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST select MFD_SYSCON help Say y here to support the Qualcomm Hardware Mutex functionality, which @@ -31,7 +31,7 @@ config HWSPINLOCK_QCOM config HWSPINLOCK_SIRF tristate "SIRF Hardware Spinlock device" depends on HWSPINLOCK - depends on ARCH_SIRF + depends on ARCH_SIRF || COMPILE_TEST help Say y here to support the SIRF Hardware Spinlock device, which provides a synchronisation mechanism for the various processors @@ -42,7 +42,7 @@ config HWSPINLOCK_SIRF config HWSPINLOCK_SPRD tristate "SPRD Hardware Spinlock device" - depends on ARCH_SPRD + depends on ARCH_SPRD || COMPILE_TEST depends on HWSPINLOCK help Say y here to support the SPRD Hardware Spinlock device. @@ -51,7 +51,7 @@ config HWSPINLOCK_SPRD config HWSPINLOCK_STM32 tristate "STM32 Hardware Spinlock device" - depends on MACH_STM32MP157 + depends on MACH_STM32MP157 || COMPILE_TEST depends on HWSPINLOCK help Say y here to support the STM32 Hardware Spinlock device. @@ -61,7 +61,7 @@ config HWSPINLOCK_STM32 config HSEM_U8500 tristate "STE Hardware Semaphore functionality" depends on HWSPINLOCK - depends on ARCH_U8500 + depends on ARCH_U8500 || COMPILE_TEST help Say y here to support the STE Hardware Semaphore functionality, which provides a synchronisation mechanism for the various processor on the -- 1.7.9.5