Commit bb28564d authored by Alessandro Rubini's avatar Alessandro Rubini

trivial: turn DSPAR() to a function

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 161b6736
......@@ -272,7 +272,11 @@ static inline struct DSCurrent *DSCUR(struct pp_instance *ppi)
return ppi->currentDS;
}
#define DSPAR(x) ((x)->parentDS)
static inline struct DSParent *DSPAR(struct pp_instance *ppi)
{
return ppi->parentDS;
}
#define DSPOR(x) ((x)->portDS)
#define DSPRO(x) ((x)->timePropertiesDS)
......
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