diff options
| author | 2017-01-26 10:45:52 -0800 | |
|---|---|---|
| committer | 2017-01-26 15:43:53 -0500 | |
| commit | 293784a8f856e854b4742be4aacf435062d91e9c (patch) | |
| tree | 1fa42ba1ef912b78e184e5bbddc046ae8d0df2e8 /include/linux/workqueue.h | |
| parent | net: dsa: Pass device pointer to dsa_register_switch (diff) | |
net: dsa: Make most functions take a dsa_port argument
In preparation for allowing platform data, and therefore no valid
device_node pointer, make most DSA functions takes a pointer to a
dsa_port structure whenever possible. While at it, introduce a
dsa_port_is_valid() helper function which checks whether port->dn is
NULL or not at the moment.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
