From 8162ac164755d04425499c76dfc12a3a9057f936 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 22 Oct 2019 19:18:09 +0300 Subject: ipa: Declare the ipaCreate() function prototype MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit IPA modules have to implement a public ipaCreate() function, but its prototype isn't declared in any header file. This allows for modules to get the prototype wrong without being warned by the compiler. Fix it. Signed-off-by: Laurent Pinchart Reviewed-by: Jacopo Mondi Reviewed-by: Niklas Söderlund --- include/ipa/ipa_interface.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/ipa/ipa_interface.h') diff --git a/include/ipa/ipa_interface.h b/include/ipa/ipa_interface.h index 3a423e37..92f1aac5 100644 --- a/include/ipa/ipa_interface.h +++ b/include/ipa/ipa_interface.h @@ -80,6 +80,8 @@ struct ipa_context_ops { const struct ipa_operation_data *data); }; +struct ipa_context *ipaCreate(); + #ifdef __cplusplus } -- cgit v1.2.1