From nobody Mon Feb 9 13:57:22 2026 Received: from smtp95.iad3a.emailsrvr.com (smtp95.iad3a.emailsrvr.com [173.203.187.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ED5B42571C7 for ; Tue, 4 Nov 2025 15:46:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=173.203.187.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762271210; cv=none; b=ihRE3xHmNtCHmKVvPLuXW4K9k69QefPP5uH6CVTjYyWcdd8fcfeavZoUMxQFraghK1j7unGG8hcJm0TuTCw6K+fhG9apifXwhpxS0yT3z0+XROoUSwVKbEehy6wcnIX0K7aMEzUc3maJdPwTJLmpp2F5LQkwTrCevK61PVvtCTo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762271210; c=relaxed/simple; bh=pMilZKZx2jVf6zyaNURLd3OxiXN16FkOjWdl17Kj8K8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XatvoIBXmk4ESVW+RS56WsfGD2V8DoIM1eIinhyXRcrXveiFvOFh5b2wVvg5MUE7kDO7OGCp3wwSFjmEFxLLVt/p8T/YN994boOkGKaSzLXXbUt+PC/zFw0kK+8fbKZigX1smxAahjGFYXfjPwDy2hL/C7D8PQ5Vb7h/9dv02KU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mev.co.uk; spf=pass smtp.mailfrom=mev.co.uk; dkim=pass (1024-bit key) header.d=mev.co.uk header.i=@mev.co.uk header.b=buH0476G; arc=none smtp.client-ip=173.203.187.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mev.co.uk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mev.co.uk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mev.co.uk header.i=@mev.co.uk header.b="buH0476G" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mev.co.uk; s=20221208-6x11dpa4; t=1762270229; bh=pMilZKZx2jVf6zyaNURLd3OxiXN16FkOjWdl17Kj8K8=; h=From:To:Subject:Date:From; b=buH0476GU7Hcnr7J8cPiUBjcV6wP74cny4l1xQVLXPz3e2sMjvTzaA2fc/KEjS1Cy HUs9H6S2T6GDD02fUvOD+CEjftTKu0jLG9X+CvSIhG3giYDAqGhsISwgUcLi73GXiX etGFK3LKVh5A5JtVB2FZcN34F5NL2PYjtw+c+ksY= X-Auth-ID: abbotti@mev.co.uk Received: by smtp4.relay.iad3a.emailsrvr.com (Authenticated sender: abbotti-AT-mev.co.uk) with ESMTPSA id 8CC9555B7; Tue, 4 Nov 2025 10:30:28 -0500 (EST) From: Ian Abbott To: linux-fpga@vger.kernel.org Cc: Moritz Fischer , Xu Yilun , Tom Rix , linux-kernel@vger.kernel.org, Ian Abbott Subject: [PATCH 1/4] fpga: altera-pr-ip: Add dummy definitions of API functions Date: Tue, 4 Nov 2025 15:27:02 +0000 Message-ID: <20251104153013.154463-2-abbotti@mev.co.uk> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251104153013.154463-1-abbotti@mev.co.uk> References: <20251104153013.154463-1-abbotti@mev.co.uk> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Classification-ID: 7af648e7-5513-437d-9d71-25d484e80853-2-1 Content-Type: text/plain; charset="utf-8" Add a dummy definition of alt_pr_register() for build testing. Signed-off-by: Ian Abbott --- include/linux/fpga/altera-pr-ip-core.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/linux/fpga/altera-pr-ip-core.h b/include/linux/fpga/al= tera-pr-ip-core.h index a6b4c07858cc..4a5aa9adaccc 100644 --- a/include/linux/fpga/altera-pr-ip-core.h +++ b/include/linux/fpga/altera-pr-ip-core.h @@ -11,7 +11,13 @@ #ifndef _ALT_PR_IP_CORE_H #define _ALT_PR_IP_CORE_H #include +#include =20 +#ifdef CONFIG_ALTERA_PR_IP_CORE int alt_pr_register(struct device *dev, void __iomem *reg_base); - +#else +static inline int alt_pr_register(struct device *dev, void __iomem *reg_ba= se) +{ + return -EOPNOTSUPP; +} #endif /* _ALT_PR_IP_CORE_H */ --=20 2.51.0