Commit 67d92e6d authored by Alessandro Rubini's avatar Alessandro Rubini

trivial: turn DSPOR() to a function

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