]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
firmware: ti_sci: Fix compilation failure when CONFIG_TI_SCI_PROTOCOL is not defined
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Thu, 23 Dec 2021 16:23:00 +0000 (17:23 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 27 Apr 2022 09:57:12 +0000 (11:57 +0200)
BugLink: https://bugs.launchpad.net/bugs/1969110
[ Upstream commit 043cfff99a18933fda2fb2e163daee73cc07910b ]

Remove an extra ";" which breaks compilation.

Fixes: 53bf2b0e4e4c ("firmware: ti_sci: Add support for getting resource with subtype")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/e6c3cb793e1a6a2a0ae2528d5a5650dfe6a4b6ff.1640276505.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 42dab81e93094eb312a1482a4914d7f5addb8210)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
include/linux/soc/ti/ti_sci_protocol.h

index 0aad7009b50e6e1d54746ed327f1c3f6e9ef54cb..bd0d11af76c5e85a944ba57a13857881f227804a 100644 (file)
@@ -645,7 +645,7 @@ devm_ti_sci_get_of_resource(const struct ti_sci_handle *handle,
 
 static inline struct ti_sci_resource *
 devm_ti_sci_get_resource(const struct ti_sci_handle *handle, struct device *dev,
-                        u32 dev_id, u32 sub_type);
+                        u32 dev_id, u32 sub_type)
 {
        return ERR_PTR(-EINVAL);
 }