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

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

Merge "soc: make snd_event stub functions as static inline"

parents 4073cd77 8fb467f1
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -38,39 +38,39 @@ inline bool is_snd_event_fwk_enabled(void)
	return 1;
}
#else
int snd_event_client_register(struct device *dev,
static inline int snd_event_client_register(struct device *dev,
			      const struct snd_event_ops *snd_ev_ops,
			      void *data)
{
	return 0;
}
int snd_event_client_deregister(struct device *dev)
static inline int snd_event_client_deregister(struct device *dev)
{
	return 0;
}
int snd_event_master_register(struct device *dev,
static inline int snd_event_master_register(struct device *dev,
			      const struct snd_event_ops *ops,
			      struct snd_event_clients *clients,
			      void *data)
{
	return 0;
}
int snd_event_master_deregister(struct device *dev)
static inline int snd_event_master_deregister(struct device *dev)
{
	return 0;
}
int snd_event_notify(struct device *dev, unsigned int state)
static inline int snd_event_notify(struct device *dev, unsigned int state)
{
	return 0;
}

void snd_event_mstr_add_client(struct snd_event_clients **snd_clients,
static inline void snd_event_mstr_add_client(struct snd_event_clients **snd_clients,
			    int (*compare)(struct device *, void *),
			    void *data)
{
	return;
}
inline bool is_snd_event_fwk_enabled(void)
static inline bool is_snd_event_fwk_enabled(void)
{
	return 0;
}