From patchwork Wed Dec 2 07:38:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 11944901 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=-18.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 D31A1C64E8A for ; Wed, 2 Dec 2020 07:40:21 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6510420709 for ; Wed, 2 Dec 2020 07:40:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6510420709 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=PkszO00bPezEoPgRgWK59eg2Ex903TeoOo2MKOsZxnM=; b=dF2Cgtw4FzmCAmgfadZDby/M6 aMAdtstUNYfyO6U7e1Gn4dl2utKeI8+WVXWHoJySvlhMptkiG2TA73a39sun77a4sH62AVE9rDBRA LcWqwl8pBsshfpheZah+WlfaaLa4tResdaJUkQVPxDnVivwmyNnJAC+NfEELaxoT2tHNPUnKYgC+O YygwcCnTHch3Lx+QjAGomsoOYncs8alDK+VXsOsOL1WdJHRpz3JT+uKqBAsHh6HenIKANy2cZYOfN pQ2ScpLom+UTMKjWSVqp1UKsXLrrAjuBtE3Nj/NjkGZPgKM1S3fG9/MtX+xEeWNGEPVvHCpqU82c9 4EEZi70UQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kkMjH-0007Y1-Hk; Wed, 02 Dec 2020 07:39:11 +0000 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kkMj8-0007Ty-Hm for linux-arm-kernel@lists.infradead.org; Wed, 02 Dec 2020 07:39:04 +0000 Received: by mail-ej1-x62f.google.com with SMTP id jx16so1935790ejb.10 for ; Tue, 01 Dec 2020 23:39:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mPSb3LIXJz9yjgJuLrgI8qtwWP2+jAOV2L+weq9SiGc=; b=1qcWbxe3PwuoM4G/LqobEBCACzqr7bqIiRseFwkSh8f3G28rPFSXqlM/eWggABlxJ1 N/MwazYOIzkccw9wRp7nZ66lZWmfoDhHKCxyTO95rPZOv4QwF78l2LdILilJOJ7AUktN LBqL/0CHIhoz0woKY+hNwhVsTVlYEK9QlZ+MbHKLVLikYpioVuBzxU2WRor+8IYkJR5s cLqnfSrCUt2idTGuwgU4/lMALi5iZ3nx0fCulKoYxfqUkU6gSVaqqCS4cjsShnmneMST omC4b7nZbNaPvmIAcd8uP7iZAUzfW4EqXnUGvE/w1Eu3L54h67PEVdTB9RlGXfKO0jFk hY8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=mPSb3LIXJz9yjgJuLrgI8qtwWP2+jAOV2L+weq9SiGc=; b=eW493K9XhJoj/gjPjvg7In6oi1C0RyhqL2PaIhRFBzskI4W1ev8WxwVlc+xA2L/hPl zlA3FNSxrmMrP1wzvI7ngXMEjDl7AGqHrvQHWLJwLJb9EsfvJ6vWLAuR0+QAb1aUKF3Y oEjY/wTGVZ8GkvobFaddrPCDR0z9iUVivT090IAhSMNWod0HSug0xHub+t7geSoBVP6I mMp/Sk0R6BiU2bbN2Wk+TP8Nn9qjQlPYc+oq4r0ECPi7y1nH0q5v7K93q31/XBT1oXcN deBaguQDBd7xAsmgfjjsqywVvN7ch7Bp5OLSnR/SjNReHQxcPxqZAJeRGAcRASx2Sqsz /73g== X-Gm-Message-State: AOAM530VuP6fFdIy8p1wmq5JDYcyfbr2COb2RzXUa5zXgtsUlyfWA4xZ V//HfesvcjHlWOKq9XGZvstYzw== X-Google-Smtp-Source: ABdhPJyUnEbYEgWI4g5iaY+v4XaJ40wBO5Eq1lpSY2XyT8na+eiyqDtEtscqx4djZP79FMi2Di5rhQ== X-Received: by 2002:a17:906:710b:: with SMTP id x11mr1139536ejj.433.1606894740930; Tue, 01 Dec 2020 23:39:00 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id u1sm538945edf.65.2020.12.01.23.39.00 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 01 Dec 2020 23:39:00 -0800 (PST) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Subject: [PATCH v2 2/3] firmware: xilinx: Add a blank line after function declaration Date: Wed, 2 Dec 2020 08:38:49 +0100 Message-Id: <7b6007e05f6c01214861a37f198cd5bee62a4d3e.1606894725.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201202_023902_633772_22E89920 X-CRM114-Status: GOOD ( 12.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jolly Shah , Greg Kroah-Hartman , Tejas Patel , linux-arm-kernel@lists.infradead.org, Rajan Vaja Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fix all these issues which are also reported by checkpatch --strict. Signed-off-by: Michal Simek --- (no changes since v1) include/linux/firmware/xlnx-zynqmp.h | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux/firmware/xlnx-zynqmp.h index 0db9005782d6..0e7e72650ed3 100644 --- a/include/linux/firmware/xlnx-zynqmp.h +++ b/include/linux/firmware/xlnx-zynqmp.h @@ -363,107 +363,132 @@ static inline struct zynqmp_eemi_ops *zynqmp_pm_get_eemi_ops(void) { return ERR_PTR(-ENODEV); } + static inline int zynqmp_pm_get_api_version(u32 *version) { return -ENODEV; } + static inline int zynqmp_pm_get_chipid(u32 *idcode, u32 *version) { return -ENODEV; } + static inline int zynqmp_pm_query_data(struct zynqmp_pm_query_data qdata, u32 *out) { return -ENODEV; } + static inline int zynqmp_pm_clock_enable(u32 clock_id) { return -ENODEV; } + static inline int zynqmp_pm_clock_disable(u32 clock_id) { return -ENODEV; } + static inline int zynqmp_pm_clock_getstate(u32 clock_id, u32 *state) { return -ENODEV; } + static inline int zynqmp_pm_clock_setdivider(u32 clock_id, u32 divider) { return -ENODEV; } + static inline int zynqmp_pm_clock_getdivider(u32 clock_id, u32 *divider) { return -ENODEV; } + static inline int zynqmp_pm_clock_setrate(u32 clock_id, u64 rate) { return -ENODEV; } + static inline int zynqmp_pm_clock_getrate(u32 clock_id, u64 *rate) { return -ENODEV; } + static inline int zynqmp_pm_clock_setparent(u32 clock_id, u32 parent_id) { return -ENODEV; } + static inline int zynqmp_pm_clock_getparent(u32 clock_id, u32 *parent_id) { return -ENODEV; } + static inline int zynqmp_pm_set_pll_frac_mode(u32 clk_id, u32 mode) { return -ENODEV; } + static inline int zynqmp_pm_get_pll_frac_mode(u32 clk_id, u32 *mode) { return -ENODEV; } + static inline int zynqmp_pm_set_pll_frac_data(u32 clk_id, u32 data) { return -ENODEV; } + static inline int zynqmp_pm_get_pll_frac_data(u32 clk_id, u32 *data) { return -ENODEV; } + static inline int zynqmp_pm_set_sd_tapdelay(u32 node_id, u32 type, u32 value) { return -ENODEV; } + static inline int zynqmp_pm_sd_dll_reset(u32 node_id, u32 type) { return -ENODEV; } + static inline int zynqmp_pm_reset_assert(const enum zynqmp_pm_reset reset, const enum zynqmp_pm_reset_action assert_flag) { return -ENODEV; } + static inline int zynqmp_pm_reset_get_status(const enum zynqmp_pm_reset reset, u32 *status) { return -ENODEV; } + static inline int zynqmp_pm_init_finalize(void) { return -ENODEV; } + static inline int zynqmp_pm_set_suspend_mode(u32 mode) { return -ENODEV; } + static inline int zynqmp_pm_request_node(const u32 node, const u32 capabilities, const u32 qos, const enum zynqmp_pm_request_ack ack) { return -ENODEV; } + static inline int zynqmp_pm_release_node(const u32 node) { return -ENODEV; } + static inline int zynqmp_pm_set_requirement(const u32 node, const u32 capabilities, const u32 qos, @@ -471,39 +496,48 @@ static inline int zynqmp_pm_set_requirement(const u32 node, { return -ENODEV; } + static inline int zynqmp_pm_aes_engine(const u64 address, u32 *out) { return -ENODEV; } + static inline int zynqmp_pm_fpga_load(const u64 address, const u32 size, const u32 flags) { return -ENODEV; } + static inline int zynqmp_pm_fpga_get_status(u32 *value) { return -ENODEV; } + static inline int zynqmp_pm_write_ggs(u32 index, u32 value) { return -ENODEV; } + static inline int zynqmp_pm_read_ggs(u32 index, u32 *value) { return -ENODEV; } + static inline int zynqmp_pm_write_pggs(u32 index, u32 value) { return -ENODEV; } + static inline int zynqmp_pm_read_pggs(u32 index, u32 *value) { return -ENODEV; } + static inline int zynqmp_pm_system_shutdown(const u32 type, const u32 subtype) { return -ENODEV; } + static inline int zynqmp_pm_set_boot_health_status(u32 value) { return -ENODEV;