From patchwork Sun Sep 12 20:29:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 510104 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3A21CC43219 for ; Sun, 12 Sep 2021 20:29:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 25DEC6103D for ; Sun, 12 Sep 2021 20:29:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236499AbhILUao (ORCPT ); Sun, 12 Sep 2021 16:30:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236383AbhILUah (ORCPT ); Sun, 12 Sep 2021 16:30:37 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73112C061574; Sun, 12 Sep 2021 13:29:22 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id i23so11367674wrb.2; Sun, 12 Sep 2021 13:29:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cZO3c0fpnwQfqDRvDUKCPGXMXP2rFLnO7bySGQVOuzg=; b=Ydfa+q6BwqoWYTb3uTbbugDmElpcXeMJKd7IUmktBODwQDdzCtRfN9jEIWR0MegiIY lvx19ENUVFkK8sVlc2wyoaFAQ/ry6evxQ+2/2NSRorWgf17bpechZHo5kEw1ZarcWzJ1 nrDfXD0sDq+LVMaaIvptcpaKIC3WIKnkcevHEILQDwIxpmNIRQhgfHJFcSTDtdxa1MPX qxycbTbL1Bz1kOgmiRWh8ZBk+vO9Wfrg3gdR5Uuk6OFfXhF20JNBZvO4Ev9eN/AMrOzQ meGST2SkhQs1zHX9VX0uHYu37bkL5aUIVKV8xhV/noh6IxepvK5zK+Lbm0pWNTiU01Cb RTdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cZO3c0fpnwQfqDRvDUKCPGXMXP2rFLnO7bySGQVOuzg=; b=EATYU66HIFYUIHP03cMecAwyGcZVLwLclyghDB9szF4kKzRqBrWH9se8VoyZzrmbaA QB629CgUHHsz7CO9j9NQiLwEBGS37BboR93ovOKdgwiYyoHvPD7tgVfXghtjWB3D6BY6 /jQkyC2ofErHYTQ2YqnbxDw9rZyCKQkmF1RSCadhhJYRshyuMKEebBEfjVQeXfbmqvLr TN4jfk6M2UM/JTy3mRsVYFHDVfgBjGCEVVkUoKLM17+s/ADajgD46sKhgmyc5aWCDAVn 1lW0xly4f+XbyGlwTJlZHls2f66Lb7Mna/QA1Ni1i9pRxbX+THrwIxy1DeyEB8bJVLTl r5ww== X-Gm-Message-State: AOAM531E7DA1YXVfcKKmHdMvkSAg7MgJ4Xv9PHh4rPlVNMxxo9zqxlwu TWAWGyTGcQOKVttB7SIxmYw= X-Google-Smtp-Source: ABdhPJwM0nLTIrYP/wtpMt2yYOSJNezEQsNl15O/3gO37O6ItP2azMWA+DWR30tWaoQ1BhnOMvz2VA== X-Received: by 2002:adf:9d45:: with SMTP id o5mr8875561wre.226.1631478560629; Sun, 12 Sep 2021 13:29:20 -0700 (PDT) Received: from localhost.localdomain (46-138-83-36.dynamic.spd-mgts.ru. [46.138.83.36]) by smtp.gmail.com with ESMTPSA id k29sm4847466wms.24.2021.09.12.13.29.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Sep 2021 13:29:20 -0700 (PDT) From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter , Daniel Lezcano Cc: "Rafael J. Wysocki" , linux-pm@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 4/6] clk: tegra: Add stubs needed for compile testing Date: Sun, 12 Sep 2021 23:29:05 +0300 Message-Id: <20210912202907.28471-5-digetx@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210912202907.28471-1-digetx@gmail.com> References: <20210912202907.28471-1-digetx@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Add stubs needed for compile-testing of tegra-cpuidle driver. Signed-off-by: Dmitry Osipenko --- include/linux/clk/tegra.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/linux/clk/tegra.h b/include/linux/clk/tegra.h index d128ad1570aa..9bd06d8a5436 100644 --- a/include/linux/clk/tegra.h +++ b/include/linux/clk/tegra.h @@ -42,7 +42,11 @@ struct tegra_cpu_car_ops { #endif }; +#ifdef CONFIG_ARCH_TEGRA extern struct tegra_cpu_car_ops *tegra_cpu_car_ops; +#else +static struct tegra_cpu_car_ops *tegra_cpu_car_ops __maybe_unused; +#endif static inline void tegra_wait_cpu_in_reset(u32 cpu) {