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: 10481507 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 C17E660230 for ; Fri, 22 Jun 2018 08:13:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B39541FFE6 for ; Fri, 22 Jun 2018 08:13:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A834428D08; Fri, 22 Jun 2018 08:13:57 +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 5FD831FFE6 for ; Fri, 22 Jun 2018 08:13:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752029AbeFVIN4 (ORCPT ); Fri, 22 Jun 2018 04:13:56 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:36479 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754178AbeFVIKC (ORCPT ); Fri, 22 Jun 2018 04:10:02 -0400 Received: by mail-pl0-f65.google.com with SMTP id a7-v6so3105535plp.3 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=kpC5sftAyyosgsNIeOLfwF2qSBK7Y01RqEcRgPTF8LtAR6vQhbx9UpcbscDDLuMw3H 9nBuOyqNBEyeQvljT0Ri8+Ec3oy3qPChXDeQrMUW/95bU2xmYWJoAYw1B/Zulu804iFo U67j6AJLPBPwAhT9CmUDyTnneNfZCrPy9LcRhUUY0fJVOuJwP9Xixuy7MSIiIJzk7l5h 3v1wouHwnAX0DNNEIB39+6i2jl+U9c3J+zFDw0MWN3CydW8THcbM3lso2i761H9HDCDj c0kk7Qu4UewXWftii+tqZSIPrCaiZamiKcH8d7TFefX5D5tD40TLrb3TjiBYXQOA0ajO opLA== X-Gm-Message-State: APt69E0i9hykT4viIXMnBShQIhdpw7nFMhUrPz83RVbDm9C5JcOnNac3 hyeXHl7m6CxOMKXoLwExW+5ErQ== 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-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@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);