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:
Arvin Farahmand 2021-05-01 15:42:26 -04:00 committed by Christopher Friedt
commit cb3aa1b1b5
3 changed files with 154 additions and 154 deletions

View file

@ -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;
};
/**