Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6fb8b43 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "spmi: Inline a function to remove compilation error"

parents e49768a1 13a82c22
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -18,8 +18,14 @@
int spmi_dfs_add_controller(struct spmi_controller *ctrl);
int spmi_dfs_del_controller(struct spmi_controller *ctrl);
#else
static int spmi_dfs_add_controller(struct spmi_controller *ctrl) { return 0; }
static int spmi_dfs_del_controller(struct spmi_controller *ctrl) { return 0; }
static inline int spmi_dfs_add_controller(struct spmi_controller *ctrl)
{
	return 0;
}
static inline int spmi_dfs_del_controller(struct spmi_controller *ctrl)
{
	return 0;
}
#endif

struct dentry *spmi_dfs_create_file(struct spmi_controller *ctrl,