Skip to content

Commit

Permalink
firmware: ti_sci: Fix compilation failure when CONFIG_TI_SCI_PROTOCOL…
Browse files Browse the repository at this point in the history
… is not defined

Remove an extra ";" which breaks compilation.

Fixes: 53bf2b0 ("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
  • Loading branch information
Christophe JAILLET authored and Nishanth Menon committed Feb 2, 2022
1 parent 001d7c8 commit 043cfff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/soc/ti/ti_sci_protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 043cfff

Please sign in to comment.