dts: ksz8974: add private data structure for each device
Added a private structure pointer to each DSA device to store device specific data. Signed-off-by: Arvin Farahmand <arvinf@ip-logix.com>
This commit is contained in:
parent
fe4f6969ac
commit
cb3aa1b1b5
3 changed files with 154 additions and 154 deletions
|
@ -152,6 +152,9 @@ struct dsa_context {
|
|||
|
||||
/** Status of each port */
|
||||
bool link_up[NET_DSA_PORT_MAX_COUNT];
|
||||
|
||||
/** Instance specific data */
|
||||
void *prv_data;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue