Commit f6b1428d authored by Alessandro Rubini's avatar Alessandro Rubini

trivial: turn DSDEF() to a function

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 3b81805f
......@@ -262,7 +262,11 @@ static inline struct pp_runtime_opts *OPTS(struct pp_instance *ppi)
return ppi->rt_opts;
}
#define DSDEF(x) ((x)->defaultDS)
static inline struct DSDefault *DSDEF(struct pp_instance *ppi)
{
return ppi->defaultDS;
}
#define DSCUR(x) ((x)->currentDS)
#define DSPAR(x) ((x)->parentDS)
#define DSPOR(x) ((x)->portDS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment