From patchwork Fri Jun 22 08:09:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "(Exiting) Baolin Wang" X-Patchwork-Id: 10481509 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3E68F6023A for ; Fri, 22 Jun 2018 08:13:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3076A1FFE6 for ; Fri, 22 Jun 2018 08:13:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 24DF128D08; Fri, 22 Jun 2018 08:13:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D35BC1FFE6 for ; Fri, 22 Jun 2018 08:13:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752352AbeFVIN4 (ORCPT ); Fri, 22 Jun 2018 04:13:56 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:35643 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754177AbeFVIKC (ORCPT ); Fri, 22 Jun 2018 04:10:02 -0400 Received: by mail-pl0-f67.google.com with SMTP id k1-v6so3105947plt.2 for ; Fri, 22 Jun 2018 01:10:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=UOdkApVVBA+z4FyuVcx5+Va8JRtm2Zu3pthKkD+YL98=; b=OsoA7xBWvV27vxKUrsD2CDeNCrdnaaAfqqOKMk4RNQr+ZIMJ9Q8k42h1xEeWeXON3c 6+E5f2dLG/4hbIhBgaI3heMEEajkGBLFozNMwjKrjR4Ami+RUfskpuqWrK/nxRoc2R7X V38J4MzNBi6um5MiB8pZ7xvkTZ9ghc8C7ibWg= 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:in-reply-to :references:in-reply-to:references; bh=UOdkApVVBA+z4FyuVcx5+Va8JRtm2Zu3pthKkD+YL98=; b=XfpnffCELrPLoXKDKzXLlW+pvLMGB//bzPlXsipaKwjxmpFFsrdnnnCtjt+5nRaZKm KgeizT2JMeSpxWFWomXJ2xrAxODONAMLE6D3/tM6XxkTUJ+/0bNVZxoPSy05/h7C1cxp iR/Vc77naCenGhJ8Er88gOATm+MOrnG0CVf9xaRt3qdaIc3P+EGnNnrepNL9yMDEdPaA fnlWhYhQBA4tRyynWVDC2CLTvtTy7VE964dsZRv9rjcTp9rR2srLdkQQjiBSof0wPcjp tiQkaIXcnbEYtIsjvHrJG58DbcNbbha7uxNXXL626O1Td/rYd+IhbG7v4c7GIME+CZOk bvIg== X-Gm-Message-State: APt69E2XuTbiAKE2mWFOiMk7WCpL480ovbLoBtPk0U6+KEQGZsL6XK8q 6pQwZfSE+iffllcIaZB5WK0AlA== X-Google-Smtp-Source: ADUXVKI/UjsZR9Rf91+XbC35vvA77AR4EeyFcJ7whxWTFfZkmT4XfYSl9AFAxT66abxgwdHCu67CVw== X-Received: by 2002:a17:902:aa83:: with SMTP id d3-v6mr576991plr.323.1529655002093; Fri, 22 Jun 2018 01:10:02 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id i65-v6sm22656131pfd.17.2018.06.22.01.09.59 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 22 Jun 2018 01:10:01 -0700 (PDT) From: Baolin Wang To: ohad@wizery.com, bjorn.andersson@linaro.org, broonie@kernel.org Cc: baolin.wang@linaro.org, linux-spi@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/8] hwspinlock: Remove redundant config Date: Fri, 22 Jun 2018 16:09:01 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The hardware core can not be built as a module, so remove the redundant CONFIG_HWSPINLOCK_MODULE config. Signed-off-by: Baolin Wang --- include/linux/hwspinlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/hwspinlock.h b/include/linux/hwspinlock.h index 94064cc..0afe693 100644 --- a/include/linux/hwspinlock.h +++ b/include/linux/hwspinlock.h @@ -52,7 +52,7 @@ struct hwspinlock_pdata { int base_id; }; -#if defined(CONFIG_HWSPINLOCK) || defined(CONFIG_HWSPINLOCK_MODULE) +#ifdef CONFIG_HWSPINLOCK int hwspin_lock_register(struct hwspinlock_device *bank, struct device *dev, const struct hwspinlock_ops *ops, int base_id, int num_locks);