Commit a18e26a5 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Georgi Djakov
Browse files

interconnect: qcom: icc-rpmh: Retire DEFINE_QBCM

parent edd13c04
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -12,14 +12,6 @@

#include "icc-rpmh.h"

#define DEFINE_QBCM(_name, _bcmname, _keepalive, ...)			       \
static struct qcom_icc_bcm _name = {					       \
	.name = _bcmname,						       \
	.keepalive = _keepalive,					       \
	.num_nodes = ARRAY_SIZE(((struct qcom_icc_node *[]){ __VA_ARGS__ })),  \
	.nodes = { __VA_ARGS__ },					       \
}

struct bcm_voter *of_bcm_voter_get(struct device *dev, const char *name);
void qcom_icc_bcm_voter_add(struct bcm_voter *voter, struct qcom_icc_bcm *bcm);
int qcom_icc_bcm_voter_commit(struct bcm_voter *voter);